mb

package
v0.0.0-...-5bfa661 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: MIT Imports: 11 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