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
func (t *GetChildrenRedirectToken) Type() core.DelegationTokenType
Type 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
func (t *GetCodeRedirectToken) Type() core.DelegationTokenType
Type 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
func (t *GetObjectRedirectToken) Type() core.DelegationTokenType
Type 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 (t *PendingExecutionToken) Type() core.DelegationTokenType
Click to show internal directories.
Click to hide internal directories.