aazsproxy

package
v0.0.0-...-499f9e9 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Endpoint = &oauth2.Endpoint{
	AuthURL: cariad.BaseURL + "/login/v1/audi/token",
}

Functions

This section is empty.

Types

type Service

type Service struct {
	*request.Helper
}

func New

func New(log *util.Logger) *Service

func (*Service) Exchange

func (v *Service) Exchange(config, token string) (*vag.Token, error)

Exchange exchanges an VAG identity or IDK token for an AAZS token

func (*Service) TokenSource

func (v *Service) TokenSource(token *vag.Token) vag.TokenSource

TokenSource creates token source. Token is NOT refreshed but will expire.

Jump to

Keyboard shortcuts

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