oauthProxy

package
Version: v1.2.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainType added in v1.2.1

type DomainType string

type PasswordType added in v1.2.1

type PasswordType string

type Proxy

type Proxy struct {
	OAuthGrantType        string
	OAuthRefreshGrantType string

	Client    client.OAuthClientInterface
	Converter converter.JwtConverterInterface
}

func (*Proxy) Check

func (p *Proxy) Check(authData string) error

func (*Proxy) Login

func (p *Proxy) Login(username UsernameType, password PasswordType, domain DomainType) (string, map[string]interface{}, error)

func (*Proxy) Logout

func (p *Proxy) Logout(authData string) error

func (*Proxy) LogoutAll

func (p *Proxy) LogoutAll(authData string) error

func (*Proxy) Refresh

func (p *Proxy) Refresh(authData string) (string, error)

type UsernameType added in v1.2.1

type UsernameType string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL