Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PasswordAuthenticator ¶
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 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 TokenRequest ¶
type TokenRequest struct {
Params []string
}
type TokenResponse ¶
type VerifyRequest ¶
type VerifyResponse ¶
Click to show internal directories.
Click to hide internal directories.