Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2021 Changes in this version + type Mytoken struct + func NewMytokenInstance(url string) (*Mytoken, error) + func (my *Mytoken) GetAccessToken(superToken, oidcIssuer string, scopes []string, audiences []string, ...) (string, error) + func (my *Mytoken) GetSuperToken(req interface{}) (string, error) + func (my *Mytoken) GetSuperTokenByAuthorizationFlow(issuer string, restrictions restrictions.Restrictions, ...) (string, error) + func (my *Mytoken) GetSuperTokenBySuperToken(superToken, issuer string, restrictions restrictions.Restrictions, ...) (string, error) + func (my *Mytoken) GetSuperTokenByTransferCode(transferCode string) (string, error) + func (my *Mytoken) InitAuthorizationFlow(issuer string, restrictions restrictions.Restrictions, ...) (*pkg.AuthCodeFlowResponse, error) + func (my *Mytoken) Poll(res pkg.PollingInfo, callback func(int64, int)) (string, error) + func (my *Mytoken) PollOnce(pollingCode string) (string, bool, error) + func (my *Mytoken) Revoke(superToken, oidcIssuer string, recursive bool) error + type MytokenError struct + func (err *MytokenError) Error() string