mb

package
v0.0.0-...-175a4df Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const OAuthURI = "https://id.mercedes-benz.com"

https://id.mercedes-benz.com/.well-known/openid-configuration

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity struct {
	*request.Helper

	oauth2.TokenSource
	// contains filtered or unexported fields
}

func NewIdentity

func NewIdentity(log *util.Logger, oc *oauth2.Config) *Identity

NewIdentity creates Mercedes Benz identity

func (*Identity) Login

func (v *Identity) Login(user, password string) error

Jump to

Keyboard shortcuts

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