Documentation ¶
Overview ¶
Package grpc spins an OpenID Connect Server using the coreos/dex implementation
Index ¶
- func NewAuthTokenRevokerHandler(dexConfig auth.Config) (proto.AuthTokenRevokerHandler, error)
- type TokenRevokerHandler
- func (h *TokenRevokerHandler) MatchInvalid(ctx context.Context, in *proto.MatchInvalidTokenRequest, ...) error
- func (h *TokenRevokerHandler) PruneTokens(ctx context.Context, in *proto.PruneTokensRequest, ...) error
- func (h *TokenRevokerHandler) Revoke(ctx context.Context, in *proto.RevokeTokenRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthTokenRevokerHandler ¶
func NewAuthTokenRevokerHandler(dexConfig auth.Config) (proto.AuthTokenRevokerHandler, error)
Types ¶
type TokenRevokerHandler ¶
type TokenRevokerHandler struct {
// contains filtered or unexported fields
}
func (*TokenRevokerHandler) MatchInvalid ¶
func (h *TokenRevokerHandler) MatchInvalid(ctx context.Context, in *proto.MatchInvalidTokenRequest, out *proto.MatchInvalidTokenResponse) error
MatchInvalid checks if token is part of revocation list
func (*TokenRevokerHandler) PruneTokens ¶
func (h *TokenRevokerHandler) PruneTokens(ctx context.Context, in *proto.PruneTokensRequest, out *proto.PruneTokensResponse) error
PruneTokens garbage collect expired IdTokens and Tokens
func (*TokenRevokerHandler) Revoke ¶
func (h *TokenRevokerHandler) Revoke(ctx context.Context, in *proto.RevokeTokenRequest, out *proto.RevokeTokenResponse) error
Revoke adds token to revocation list and eventually clear RefreshToken as well (directly inside Dex)
Click to show internal directories.
Click to hide internal directories.