Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTestCryptoKeyStore ¶
func NewTestCryptoKeyStore() *kms.CryptoKeyStore
NewTestCryptoKeyStore returns an instance of CryptoKeyStore with loaded HMAC key pair.
func NewTestGuestAccessList ¶
func NewTestGuestAccessList() *acl.AccessList
NewTestGuestAccessList return ACL with guest access.
func NewTestGuestAccessListWithLogger ¶
func NewTestGuestAccessListWithLogger() *acl.AccessList
NewTestGuestAccessListWithLogger return ACL with guest access and logger.
Types ¶
type InjectedTestToken ¶
type InjectedTestToken struct { Name string `json:"name,omitempty" xml:"name,omitempty" yaml:"name,omitempty"` // The locations to inject a token in this test. Location string `json:"location,omitempty" xml:"location,omitempty" yaml:"location,omitempty"` // The basic user claims. User *user.User `json:"user,omitempty" xml:"user,omitempty" yaml:"user,omitempty"` }
InjectedTestToken is an instance of injected token.
func NewInjectedTestToken ¶
func NewInjectedTestToken(name, location, cfg string) *InjectedTestToken
NewInjectedTestToken returns an instance of injected token.
Click to show internal directories.
Click to hide internal directories.