uaa

package
v0.0.0-...-1bc9eea Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(uaaConfig config.UAAConfig) Client

func (Client) GetAuthorizationEndpointWithParams

func (c Client) GetAuthorizationEndpointWithParams(authzEndpoint, oauthState string) (string, error)

func (Client) GetOpenIDConfiguration

func (c Client) GetOpenIDConfiguration() (OpenIDConfiguration, error)

func (Client) GetToken

func (c Client) GetToken(tokenEndpoint string, authCode string) (map[string]interface{}, error)

type OpenIDConfiguration

type OpenIDConfiguration struct {
	AuthorizationEndpoint string `json:"authorization_endpoint"`
	TokenEndpoint         string `json:"token_endpoint"`
	JWKSURI               string `json:"jwks_uri"`
}

Jump to

Keyboard shortcuts

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