wso2

package
Version: v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken() string

GetAccessToken .

func OpenBrowser

func OpenBrowser(url string) error

OpenBrowser .

Types

type IDInfo

type IDInfo struct {
	PersonID           string `json:"person_id"`
	Surname            string `json:"surname"`
	PreferredFirstName string `json:"preferred_first_name"`
	RestOfName         string `json:"rest_of_name"`
	NetID              string `json:"net_id"`
	Suffix             string `json:"suffix"`
	SortName           string `json:"sort_name"`
	Prefix             string `json:"prefix"`
	SurnamePosition    string `json:"surname_position"`
	BYUID              string `json:"byu_id"`

	// because they don't send back a normal jwt..?
	Audience []string `json:"aud,omitempty"`
	jwt.StandardClaims
}

IDInfo .

func GetIDInfo

func GetIDInfo() (*IDInfo, error)

GetIDInfo .

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL