as_auth

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Provides access to all endpoints documented in our API reference. If no scopes are requested, this scope is assumed by default.
	ScopeDefault = "default"

	// Provides access to OpenID Connect ID tokens and the OpenID Connect user info endpoint.
	ScopeOpenId = "openid"

	// Provides access to the user's email through the OpenID Connect user info endpoint.
	ScopeEmail = "email"

	// Provides access to the user's name and profile photo through the OpenID Connect user info endpoint.
	ScopeProfile = "profile"
)

https://developers.asana.com/docs/oauth

Variables

This section is empty.

Functions

func New

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func (App) Config

func (z App) Config(scope []string) *oauth2.Config

func (App) UsePKCE

func (z App) UsePKCE() bool

Jump to

Keyboard shortcuts

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