scopes

package
v0.0.0-...-7dca2e3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenID           = "openid"
	OfflineAccess    = "offline_access"
	AzureAPITemplate = "api://%s/.default"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Scopes

type Scopes []string

func DefaultScopes

func DefaultScopes() Scopes

func (Scopes) String

func (s Scopes) String() string

func (Scopes) WithAdditional

func (s Scopes) WithAdditional(scopes ...string) Scopes

func (Scopes) WithAzureScope

func (s Scopes) WithAzureScope(clientID string) Scopes

func (Scopes) WithOfflineAccess

func (s Scopes) WithOfflineAccess() Scopes

Jump to

Keyboard shortcuts

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