Documentation ¶
Index ¶
- func AAZSTokenSource(log *util.Logger, tox vag.TokenExchanger, azsConfig string, q url.Values) (vag.TokenSource, vag.TokenSource, error)
- func MbbTokenSource(log *util.Logger, trs vag.TokenSource, clientID string) vag.TokenSource
- func TokenRefreshServiceTokenSource(log *util.Logger, data, q url.Values, user, password string) (vag.TokenSource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AAZSTokenSource ¶
func AAZSTokenSource(log *util.Logger, tox vag.TokenExchanger, azsConfig string, q url.Values) (vag.TokenSource, vag.TokenSource, error)
AAZSTokenSource creates a refreshing token source for use with the AAZS api. Once the AAZS token expires, it is recreated from the token exchanger (either TokenRefreshService or IDK). Return values are the AAZS and token exchanger (TRS or IDK) token sources.
func MbbTokenSource ¶
func MbbTokenSource(log *util.Logger, trs vag.TokenSource, clientID string) vag.TokenSource
MbbTokenSource creates a refreshing token source for use with the MBB api. Once the MBB token expires, it is recreated from the token exchanger (either TokenRefreshService or IDK)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.