scope

package
v0.0.0-...-049ef2a Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OpenID        = "openid"
	Email         = "email"
	OfflineAccess = "offline_access"
)

Variables

This section is empty.

Functions

func Include

func Include(scopes string, targetScope string) bool

func IncludeAll

func IncludeAll(scopes string, targetScopes []string) (bool, string)

func IncludeOfflineAccess

func IncludeOfflineAccess(scopes string) bool

func IncludeOpenID

func IncludeOpenID(scopes string) bool

func Remove

func Remove(scopes string, targetScope string) string

func RemoveOfflineAccess

func RemoveOfflineAccess(scopes string) string

func RemoveOpenID

func RemoveOpenID(scopes string) string

func Same

func Same(scope1, scope2 string) bool

func Sort

func Sort(origin string) string

func Split

func Split(scope string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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