Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordAuthenticator ¶
type PasswordAuthenticatorFactory ¶ added in v0.0.3
type PasswordAuthenticatorFactory interface {
New(params []string) (PasswordAuthenticator, error)
}
type TokenInfo ¶
type TokenInfo interface {
// VerifyToken verifies the providing token and performs authorization. The returned error is only used by the underlying rpc protocol
VerifyToken(ctx context.Context, request VerifyRequest) (VerifyResponse, error)
}
type TokenInfoFactory ¶ added in v0.0.3
type TokenProvider ¶
type TokenProvider interface {
// GetToken retrieves the auth token . The returned error is only used by the underlying rpc protocol
GetToken(ctx context.Context, request TokenRequest) (TokenResponse, error)
}
type TokenProviderFactory ¶ added in v0.0.3
type TokenProviderFactory interface {
New(params []string) (TokenProvider, error)
}
type TokenRequest ¶
type TokenRequest struct {
Params []string
}
type TokenResponse ¶
type VerifyRequest ¶
type VerifyResponse ¶
Click to show internal directories.
Click to hide internal directories.