api

package
v0.0.0-...-730ab85 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generates

type Generates interface {
	Token(ctx context.Context, isGenRefresh bool) (string, string, error)
}

type GrantType

type GrantType string
const (
	AuthorizationCode   GrantType = "authorization_code"
	PasswordCredentials GrantType = "password"
	ClientCredentials   GrantType = "client_credentials"
	Refreshing          GrantType = "refresh_token"
	Implicit            GrantType = "__implicit"
)

func (GrantType) String

func (gt GrantType) String() string

type ResponseType

type ResponseType string
const (
	Code  ResponseType = "code"
	Token ResponseType = "token"
)

func (ResponseType) String

func (rt ResponseType) String() string

Jump to

Keyboard shortcuts

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