Documentation ¶
Index ¶
- func NewProvider(keychain authn.Keychain) session.Attachable
- type AuthProvider
- func (a *AuthProvider) Credentials(ctx context.Context, request *auth.CredentialsRequest) (*auth.CredentialsResponse, error)
- func (a *AuthProvider) FetchToken(ctx context.Context, request *auth.FetchTokenRequest) (*auth.FetchTokenResponse, error)
- func (a *AuthProvider) GetTokenAuthority(ctx context.Context, request *auth.GetTokenAuthorityRequest) (*auth.GetTokenAuthorityResponse, error)
- func (a *AuthProvider) Register(server *grpc.Server)
- func (a *AuthProvider) VerifyTokenAuthority(ctx context.Context, request *auth.VerifyTokenAuthorityRequest) (*auth.VerifyTokenAuthorityResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(keychain authn.Keychain) session.Attachable
Types ¶
type AuthProvider ¶
type AuthProvider struct {
// contains filtered or unexported fields
}
func (*AuthProvider) Credentials ¶
func (a *AuthProvider) Credentials(ctx context.Context, request *auth.CredentialsRequest) (*auth.CredentialsResponse, error)
func (*AuthProvider) FetchToken ¶
func (a *AuthProvider) FetchToken(ctx context.Context, request *auth.FetchTokenRequest) (*auth.FetchTokenResponse, error)
func (*AuthProvider) GetTokenAuthority ¶
func (a *AuthProvider) GetTokenAuthority(ctx context.Context, request *auth.GetTokenAuthorityRequest) (*auth.GetTokenAuthorityResponse, error)
func (*AuthProvider) Register ¶
func (a *AuthProvider) Register(server *grpc.Server)
func (*AuthProvider) VerifyTokenAuthority ¶
func (a *AuthProvider) VerifyTokenAuthority(ctx context.Context, request *auth.VerifyTokenAuthorityRequest) (*auth.VerifyTokenAuthorityResponse, error)
Click to show internal directories.
Click to hide internal directories.