oauth

package
v2.0.0-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2019 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Overview

Package acl provides persistence and access to Access Control List

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfigurationProvider

func GetConfigurationProvider() configuration.Provider

func GetRegistry

func GetRegistry() driver.Registry

func InitRegistry

func InitRegistry(c common.ConfigValues, dao sql.DAO)

func NewDAO

func NewDAO(o dao.DAO) dao.DAO

func NewProvider

func NewProvider(rootURL string, values common.ConfigValues) configuration.Provider

Types

type DAO

type DAO interface {
	dao.DAO
}

DAO interface

type Provider

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

func (*Provider) AccessTokenLifespan

func (v *Provider) AccessTokenLifespan() time.Duration

func (*Provider) AccessTokenStrategy

func (v *Provider) AccessTokenStrategy() string

func (*Provider) AdminDisableHealthAccessLog

func (v *Provider) AdminDisableHealthAccessLog() bool

func (*Provider) AdminListenOn

func (v *Provider) AdminListenOn() string

func (*Provider) AllowTLSTerminationFrom

func (v *Provider) AllowTLSTerminationFrom() []string

func (*Provider) AuthCodeLifespan

func (v *Provider) AuthCodeLifespan() time.Duration

func (*Provider) BCryptCost

func (v *Provider) BCryptCost() int

func (*Provider) CORSEnabled

func (v *Provider) CORSEnabled(iface string) bool

func (*Provider) CORSOptions

func (v *Provider) CORSOptions(iface string) cors.Options

func (*Provider) ConsentRequestMaxAge

func (v *Provider) ConsentRequestMaxAge() time.Duration

func (*Provider) ConsentURL

func (v *Provider) ConsentURL() *url.URL

func (*Provider) DSN

func (v *Provider) DSN() string

func (*Provider) DataSourcePlugin

func (v *Provider) DataSourcePlugin() string

func (*Provider) DefaultClientScope

func (v *Provider) DefaultClientScope() []string

func (*Provider) ErrorURL

func (v *Provider) ErrorURL() *url.URL

func (*Provider) GetCookieSecrets

func (v *Provider) GetCookieSecrets() [][]byte

func (*Provider) GetRotatedSystemSecrets

func (v *Provider) GetRotatedSystemSecrets() [][]byte

func (*Provider) GetSystemSecret

func (v *Provider) GetSystemSecret() []byte

func (*Provider) IDTokenLifespan

func (v *Provider) IDTokenLifespan() time.Duration

func (*Provider) InsecureRedirects

func (v *Provider) InsecureRedirects() []string

func (*Provider) IsUsingJWTAsAccessTokens

func (v *Provider) IsUsingJWTAsAccessTokens() bool

func (*Provider) IssuerURL

func (v *Provider) IssuerURL() *url.URL

func (*Provider) LoginURL

func (v *Provider) LoginURL() *url.URL

func (*Provider) LogoutRedirectURL

func (v *Provider) LogoutRedirectURL() *url.URL

func (*Provider) LogoutURL

func (v *Provider) LogoutURL() *url.URL

func (*Provider) OAuth2AuthURL

func (v *Provider) OAuth2AuthURL() string

func (*Provider) OAuth2ClientRegistrationURL

func (v *Provider) OAuth2ClientRegistrationURL() *url.URL

func (*Provider) OIDCDiscoverySupportedClaims

func (v *Provider) OIDCDiscoverySupportedClaims() []string

func (*Provider) OIDCDiscoverySupportedScope

func (v *Provider) OIDCDiscoverySupportedScope() []string

func (*Provider) OIDCDiscoveryUserinfoEndpoint

func (v *Provider) OIDCDiscoveryUserinfoEndpoint() string

func (*Provider) PublicDisableHealthAccessLog

func (v *Provider) PublicDisableHealthAccessLog() bool

func (*Provider) PublicListenOn

func (v *Provider) PublicListenOn() string

func (*Provider) PublicURL

func (v *Provider) PublicURL() *url.URL

func (*Provider) RefreshTokenLifespan

func (v *Provider) RefreshTokenLifespan() time.Duration

func (*Provider) ScopeStrategy

func (v *Provider) ScopeStrategy() string

func (*Provider) ServesHTTPS

func (v *Provider) ServesHTTPS() bool

func (*Provider) ShareOAuth2Debug

func (v *Provider) ShareOAuth2Debug() bool

func (*Provider) SubjectIdentifierAlgorithmSalt

func (v *Provider) SubjectIdentifierAlgorithmSalt() string

func (*Provider) SubjectTypesSupported

func (v *Provider) SubjectTypesSupported() []string

func (*Provider) TracingJaegerConfig

func (v *Provider) TracingJaegerConfig() *tracing.JaegerConfig

func (*Provider) TracingProvider

func (v *Provider) TracingProvider() string

func (*Provider) TracingServiceName

func (v *Provider) TracingServiceName() string

func (*Provider) WellKnownKeys

func (v *Provider) WellKnownKeys(include ...string) []string

Directories

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

Jump to

Keyboard shortcuts

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