wso2

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIDToken

func GetIDToken() string

GetIDToken .

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 .

Jump to

Keyboard shortcuts

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