delegationtoken

package
v0.9.0-rc2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package delegationtoken is about an authorization token that allows a node to perform actions it can not normally perform during this pulse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDelegationTokenFactory

func NewDelegationTokenFactory() insolar.DelegationTokenFactory

NewDelegationTokenFactory creates new token factory instance.

Types

type GetCodeRedirectToken

type GetCodeRedirectToken struct {
	Signature []byte
}

GetCodeRedirectToken is a redirect token for the GetObject method

func (*GetCodeRedirectToken) Type

Type implementation of Token interface.

func (*GetCodeRedirectToken) Verify

func (t *GetCodeRedirectToken) Verify(parcel insolar.Parcel) (bool, error)

Verify implementation of Token interface.

type GetObjectRedirectToken

type GetObjectRedirectToken struct {
	Signature []byte
}

GetObjectRedirectToken is a redirect token for the GetObject method

func (*GetObjectRedirectToken) Type

Type implementation of Token interface.

func (*GetObjectRedirectToken) Verify

func (t *GetObjectRedirectToken) Verify(parcel insolar.Parcel) (bool, error)

Verify implementation of Token interface.

type PendingExecutionToken

type PendingExecutionToken struct {
	Signature []byte
}

func (*PendingExecutionToken) Type

func (*PendingExecutionToken) Verify

func (t *PendingExecutionToken) Verify(parcel insolar.Parcel) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL