grpc

package
v5.0.0-...-0681bf2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: AGPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

Handler for the plugin

func NewOAuthGRPCHandler

func NewOAuthGRPCHandler() *Handler

func (*Handler) AcceptConsent

func (*Handler) AcceptLogin

func (*Handler) AcceptLogout

func (*Handler) CreateAuthCode

func (*Handler) CreateConsent

func (*Handler) CreateLogin

func (*Handler) CreateLogout

func (*Handler) Exchange

Exchange code for a proper token

func (*Handler) GetConsent

func (*Handler) GetLogin

func (*Handler) PasswordCredentialsCode

PasswordCredentialsCode validates the code information and generates a token

func (*Handler) PasswordCredentialsToken

PasswordCredentialsToken validates the login information and generates a token

func (*Handler) PruneTokens

PruneTokens garbage collect expired IdTokens and Tokens

func (*Handler) Refresh

Refresh token

func (*Handler) Revoke

Revoke adds token to revocation list and eventually clear RefreshToken as well (directly inside Dex)

func (*Handler) Verify

Verify checks if the token is valid for hydra

type PATHandler

func (*PATHandler) Generate

func (*PATHandler) List

func (*PATHandler) PruneTokens

func (p *PATHandler) PruneTokens(ctx context.Context, request *auth.PruneTokensRequest) (*auth.PruneTokensResponse, error)

func (*PATHandler) Revoke

func (*PATHandler) Verify

type PATScopeClaims

type PATScopeClaims struct {
	Scopes []string `json:"scopes"`
}

Directories

Path Synopsis
Package service spins an OpenID Connect Server
Package service spins an OpenID Connect Server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL