grpc

package
v4.4.8-alpha1 Latest Latest
Warning

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

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

Documentation

Overview

Package grpc spins an OpenID Connect Server using the coreos/dex implementation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type Handler

Handler for the plugin

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) LongVerifier

func (h *Handler) LongVerifier() string

func (*Handler) Name

func (h *Handler) Name() string

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) Name

func (p *PatHandler) Name() string

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"`
}

Jump to

Keyboard shortcuts

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