oauth

package
v1.5.26 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const (
	CLIENT_ID     = "client_id"
	CLIENT_SECRET = "client_secret"

	OAUTH_URL = "oauth_url"
	GRANT_URL = "grant_url"
	TOKEN_URL = "token_url"
	USERS_URL = "users_url"

	REDIRECT_URI       = "redirect_uri"
	RESPONSE_TYPE      = "response_type"
	AUTHORIZATION_CODE = "authorization_code"
	GRANT_TYPE         = "grant_type"
	STATE              = "state"
	CODE               = "code"
	API                = "api"

	ACCESS_TOKEN = "access_token"
	EXPIRES_IN   = "expires_in"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v1.5.20

type Client struct {
	ice.Hash
	// contains filtered or unexported fields
}

func (Client) Auth added in v1.5.20

func (s Client) Auth(m *ice.Message, arg ...string)

func (Client) Delete added in v1.5.20

func (s Client) Delete(m *ice.Message, hash, api string, arg ...string) ice.Any

func (Client) Get added in v1.5.20

func (s Client) Get(m *ice.Message, hash, api string, arg ...string) ice.Any

func (Client) Init added in v1.5.20

func (s Client) Init(m *ice.Message, arg ...string)

func (Client) Inputs added in v1.5.20

func (s Client) Inputs(m *ice.Message, arg ...string)

func (Client) List added in v1.5.20

func (s Client) List(m *ice.Message, arg ...string)

func (Client) Login added in v1.5.20

func (s Client) Login(m *ice.Message, arg ...string)

func (Client) Orgs added in v1.5.20

func (s Client) Orgs(m *ice.Message, arg ...string)

func (Client) Post added in v1.5.20

func (s Client) Post(m *ice.Message, hash, api string, arg ...string) ice.Any

func (Client) Put added in v1.5.20

func (s Client) Put(m *ice.Message, hash, api string, arg ...string) ice.Any

func (Client) RedirectURI added in v1.5.20

func (s Client) RedirectURI(m *ice.Message) string

func (Client) Repo added in v1.5.20

func (s Client) Repo(m *ice.Message, arg ...string)

func (Client) User added in v1.5.20

func (s Client) User(m *ice.Message, arg ...string)

Jump to

Keyboard shortcuts

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