delegationtoken

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 5 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() core.DelegationTokenFactory

NewDelegationTokenFactory creates new token factory instance.

Types

type GetChildrenRedirect

type GetChildrenRedirect struct {
	Signature []byte
}

GetChildrenRedirect is a redirect token for the GetObject method

func (*GetChildrenRedirect) Type

Type implementation of Token interface.

func (*GetChildrenRedirect) Verify

func (t *GetChildrenRedirect) Verify(parcel core.Parcel) (bool, error)

Verify implementation of Token interface.

type GetCodeRedirect

type GetCodeRedirect struct {
	Signature []byte
}

GetCodeRedirect is a redirect token for the GetObject method

func (*GetCodeRedirect) Type

Type implementation of Token interface.

func (*GetCodeRedirect) Verify

func (t *GetCodeRedirect) Verify(parcel core.Parcel) (bool, error)

Verify implementation of Token interface.

type GetObjectRedirect

type GetObjectRedirect struct {
	Signature []byte
}

GetObjectRedirect is a redirect token for the GetObject method

func (*GetObjectRedirect) Type

Type implementation of Token interface.

func (*GetObjectRedirect) Verify

func (t *GetObjectRedirect) Verify(parcel core.Parcel) (bool, error)

Verify implementation of Token interface.

type PendingExecution

type PendingExecution struct {
	Signature []byte
}

func (*PendingExecution) Type

func (*PendingExecution) Verify

func (t *PendingExecution) Verify(parcel core.Parcel) (bool, error)

Jump to

Keyboard shortcuts

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