grpc

package
v2.0.7+incompatible Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Overview

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

Index

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

MatchInvalid checks if token is part of revocation list

func (*TokenRevokerHandler) PruneTokens

PruneTokens garbage collect expired IdTokens and Tokens

func (*TokenRevokerHandler) Revoke

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

Jump to

Keyboard shortcuts

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