oauthProxy

package
v0.0.0-...-99a0728 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Proxy

type Proxy struct {
	BaseURL      string
	CheckURL     string
	OAuthURL     string
	LogoutURL    string
	LogoutAllURL string
	DomainURL    string

	OAuthGrantType        string
	OAuthRefreshGrantType string

	Client    client.NetClientInterface
	Converter converter.JwtConverterInterface
}

func (*Proxy) Check

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

func (*Proxy) Init

func (p *Proxy) Init()

func (*Proxy) Login

func (p *Proxy) Login(username, password string) (string, error)

func (*Proxy) Logout

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

func (*Proxy) LogoutAll

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

func (*Proxy) Refresh

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

Jump to

Keyboard shortcuts

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