Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type TokenValidator ¶
type TokenValidator interface {
Validate(ctx context.Context, token string) (*identityd2_pb.Token, error)
}
func NewTokenValidator ¶
func NewTokenValidator( tknr Tokener, cli_fty *client_helper.ClientFactory, logger log.FieldLogger) TokenValidator
type Tokener ¶
type Tokener interface {
GetToken() string
}
func NewNoExpireTokener ¶
func NewNoExpireTokener(cli_fty *client_helper.ClientFactory, credential_domain, credential_id, credential_secret string, logger logrus.FieldLogger) (Tokener, error)
func NewTokener ¶
func NewTokener(cli_fty *client_helper.ClientFactory, credential_domain, credential_id, credential_secret string, logger log.FieldLogger) (Tokener, error)
Click to show internal directories.
Click to hide internal directories.