Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUaaAuth ¶
func NewUaaAuth(uaaPublicKey, symmetricVerificationKey, scope, tokenURL string, devMode bool, logger lager.Logger) (authentication.Authentication, error)
NewUaaAuth creates a new Auth with a token created from the data passed in and returns it or an error if it failes
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth is the structure used for storing authentication related items
func (*Auth) IsAuthenticated ¶
IsAuthenticated checks if the auth header is authenticated in this scope
Click to show internal directories.
Click to hide internal directories.