grpc

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0 Imports: 30 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)

type WrappedLogger

type WrappedLogger struct {
	// contains filtered or unexported fields
}

func (*WrappedLogger) Write

func (w *WrappedLogger) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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