Documentation ¶
Overview ¶
Package grpc spins an OpenID Connect Server using the coreos/dex implementation
Index ¶
- type Handler
- func (h *Handler) AcceptConsent(ctx context.Context, in *pauth.AcceptConsentRequest, ...) error
- func (h *Handler) AcceptLogin(ctx context.Context, in *pauth.AcceptLoginRequest, ...) error
- func (h *Handler) AcceptLogout(ctx context.Context, in *pauth.AcceptLogoutRequest, ...) error
- func (h *Handler) CreateAuthCode(ctx context.Context, in *pauth.CreateAuthCodeRequest, ...) error
- func (h *Handler) CreateConsent(ctx context.Context, in *pauth.CreateConsentRequest, ...) error
- func (h *Handler) CreateLogin(ctx context.Context, in *pauth.CreateLoginRequest, ...) error
- func (h *Handler) CreateLogout(ctx context.Context, in *pauth.CreateLogoutRequest, ...) error
- func (h *Handler) Exchange(ctx context.Context, in *pauth.ExchangeRequest, out *pauth.ExchangeResponse) error
- func (h *Handler) GetConsent(ctx context.Context, in *pauth.GetConsentRequest, ...) error
- func (h *Handler) GetLogin(ctx context.Context, in *pauth.GetLoginRequest, out *pauth.GetLoginResponse) error
- func (h *Handler) PruneTokens(ctx context.Context, in *pauth.PruneTokensRequest, ...) error
- func (h *Handler) Refresh(ctx context.Context, in *pauth.RefreshTokenRequest, ...) error
- func (h *Handler) Revoke(ctx context.Context, in *pauth.RevokeTokenRequest, ...) error
- func (h *Handler) Verify(ctx context.Context, in *pauth.VerifyTokenRequest, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct{}
Handler for the plugin
func (*Handler) AcceptConsent ¶
func (h *Handler) AcceptConsent(ctx context.Context, in *pauth.AcceptConsentRequest, out *pauth.AcceptConsentResponse) error
func (*Handler) AcceptLogin ¶
func (h *Handler) AcceptLogin(ctx context.Context, in *pauth.AcceptLoginRequest, out *pauth.AcceptLoginResponse) error
func (*Handler) AcceptLogout ¶
func (h *Handler) AcceptLogout(ctx context.Context, in *pauth.AcceptLogoutRequest, out *pauth.AcceptLogoutResponse) error
func (*Handler) CreateAuthCode ¶
func (h *Handler) CreateAuthCode(ctx context.Context, in *pauth.CreateAuthCodeRequest, out *pauth.CreateAuthCodeResponse) error
func (*Handler) CreateConsent ¶
func (h *Handler) CreateConsent(ctx context.Context, in *pauth.CreateConsentRequest, out *pauth.CreateConsentResponse) error
func (*Handler) CreateLogin ¶
func (h *Handler) CreateLogin(ctx context.Context, in *pauth.CreateLoginRequest, out *pauth.CreateLoginResponse) error
func (*Handler) CreateLogout ¶
func (h *Handler) CreateLogout(ctx context.Context, in *pauth.CreateLogoutRequest, out *pauth.CreateLogoutResponse) error
func (*Handler) Exchange ¶
func (h *Handler) Exchange(ctx context.Context, in *pauth.ExchangeRequest, out *pauth.ExchangeResponse) error
Exchange code for a proper token
func (*Handler) GetConsent ¶
func (h *Handler) GetConsent(ctx context.Context, in *pauth.GetConsentRequest, out *pauth.GetConsentResponse) error
func (*Handler) GetLogin ¶
func (h *Handler) GetLogin(ctx context.Context, in *pauth.GetLoginRequest, out *pauth.GetLoginResponse) error
func (*Handler) PruneTokens ¶
func (h *Handler) PruneTokens(ctx context.Context, in *pauth.PruneTokensRequest, out *pauth.PruneTokensResponse) error
PruneTokens garbage collect expired IdTokens and Tokens
func (*Handler) Refresh ¶
func (h *Handler) Refresh(ctx context.Context, in *pauth.RefreshTokenRequest, out *pauth.RefreshTokenResponse) error
Refresh token
func (*Handler) Revoke ¶
func (h *Handler) Revoke(ctx context.Context, in *pauth.RevokeTokenRequest, out *pauth.RevokeTokenResponse) error
Revoke adds token to revocation list and eventually clear RefreshToken as well (directly inside Dex)
func (*Handler) Verify ¶
func (h *Handler) Verify(ctx context.Context, in *pauth.VerifyTokenRequest, out *pauth.VerifyTokenResponse) error
Verify checks if the token is valid for hydra
Click to show internal directories.
Click to hide internal directories.