oauth

package
v0.0.0-...-4bd82ba Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateTokenAuthCodeCommand

type CreateTokenAuthCodeCommand struct {
	ClientId     string
	ClientSecret string
	Scopes       []string
	RedirectUri  string
}

type CreateTokenClientCredentialCommand

type CreateTokenClientCredentialCommand struct {
	ClientId     string   `fake:"{uuid}"`
	ClientSecret string   `fake:"{lettern:40}"`
	Scopes       []string `fakesize:"2"`
}

type IIssueTokenCommand

type IIssueTokenCommand interface{}

func NewCreateTokenAuthCodeCommand

func NewCreateTokenAuthCodeCommand(
	clientId string,
	clientSecret string,
	scopes []string,
	redirectUri string,
) IIssueTokenCommand

func NewCreateTokenClientCredentialCommand

func NewCreateTokenClientCredentialCommand(clientId, clientSecret string, scopes []string) IIssueTokenCommand

Jump to

Keyboard shortcuts

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