delegationtoken

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 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 GetChildrenRedirectToken added in v0.7.5

type GetChildrenRedirectToken struct {
	Signature []byte
}

GetChildrenRedirectToken is a redirect token for the GetObject method

func (*GetChildrenRedirectToken) Type added in v0.7.5

Type implementation of Token interface.

func (*GetChildrenRedirectToken) Verify added in v0.7.5

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

Verify implementation of Token interface.

type GetCodeRedirectToken added in v0.7.5

type GetCodeRedirectToken struct {
	Signature []byte
}

GetCodeRedirectToken is a redirect token for the GetObject method

func (*GetCodeRedirectToken) Type added in v0.7.5

Type implementation of Token interface.

func (*GetCodeRedirectToken) Verify added in v0.7.5

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

Verify implementation of Token interface.

type GetObjectRedirectToken added in v0.7.5

type GetObjectRedirectToken struct {
	Signature []byte
}

GetObjectRedirectToken is a redirect token for the GetObject method

func (*GetObjectRedirectToken) Type added in v0.7.5

Type implementation of Token interface.

func (*GetObjectRedirectToken) Verify added in v0.7.5

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

Verify implementation of Token interface.

type PendingExecutionToken added in v0.7.5

type PendingExecutionToken struct {
	Signature []byte
}

func (*PendingExecutionToken) Type added in v0.7.5

func (*PendingExecutionToken) Verify added in v0.7.5

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

Jump to

Keyboard shortcuts

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