service

package
v0.0.0-...-610f8f3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

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)

func TokenRefreshServiceTokenSource

func TokenRefreshServiceTokenSource(log *util.Logger, data, q url.Values, user, password string) (vag.TokenSource, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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