config

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CookieClientPortName = "ssoca_oauth_clientport"
View Source
const CookieClientVersionName = "ssoca_client_version"
View Source
const CookieStateName = "ssoca_oauth_state"

Variables

View Source
var JWTSigningMethod = jwt.SigningMethodRS256

Functions

This section is empty.

Types

type JWT

type JWT struct {
	PrivateKey   *PrivateKey
	Validity     time.Duration
	ValidityPast time.Duration
}

type PrivateKey

type PrivateKey struct {
	*rsa.PrivateKey
}

func (*PrivateKey) UnmarshalYAML

func (v *PrivateKey) UnmarshalYAML(unmarshal func(interface{}) error) error

type URLs

type URLs struct {
	Origin      string
	AuthSuccess string
	AuthFailure string
}

type UserProfileLoader

type UserProfileLoader func(*http.Client) (auth.Token, error)

Jump to

Keyboard shortcuts

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