auth

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequestToken internal.ContextKey

Functions

This section is empty.

Types

type Token

type Token struct {
	ID         string
	Groups     []string
	Attributes map[TokenAttribute]*string
}

func (Token) Email

func (t Token) Email() string

func (Token) Name

func (t Token) Name() string

func (Token) Username

func (t Token) Username() string

type TokenAttribute

type TokenAttribute string
const (
	TokenSurnameAttribute   TokenAttribute = "surname"
	TokenGivenNameAttribute TokenAttribute = "given_name"
	TokenNameAttribute      TokenAttribute = "name"
	TokenEmailAttribute     TokenAttribute = "email"
	TokenUsernameAttribute  TokenAttribute = "username"
)

Directories

Path Synopsis
authn
uaa
uaa/helper/helperfakes
This file was generated by counterfeiter
This file was generated by counterfeiter
authz
filter/filterfakes
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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