Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilCryptoComponentsHolder = errors.New("nil cryptoComponentsHolder")
ErrNilCryptoComponentsHolder signals that a nil cryptoComponentsHolder has been provided
View Source
var ErrNilProxy = errors.New("nil proxy")
ErrNilProxy signals that a nil proxy was provided
View Source
var ErrNilTxSigner = errors.New("nil transaction signer")
ErrNilTxSigner signals that a nil transaction signer was provided
Functions ¶
func NewNativeAuthClient ¶
func NewNativeAuthClient(args ArgsNativeAuthClient) (*nativeAuthClient, error)
NewNativeAuthClient will create a new native client able to create authentication tokens
Types ¶
type ArgsNativeAuthClient ¶
type ArgsNativeAuthClient struct { Signer builders.Signer ExtraInfo interface{} Proxy workflows.ProxyHandler CryptoComponentsHolder core.CryptoComponentsHolder TokenExpiryInSeconds uint64 Host string }
ArgsNativeAuthClient is the DTO used in the native auth client constructor
type AuthClient ¶
AuthClient defines the behavior of an authentication client
Click to show internal directories.
Click to hide internal directories.