azure

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JWT

type JWT struct {
	X5T      func() (string, error)
	Validity time.Duration
	CliendID string
	Key      *rsa.PrivateKey
}

JWT generates assertion according to https://learn.microsoft.com/en-us/azure/active-directory/develop/active-directory-certificate-credentials

func (JWT) Assertion

func (j JWT) Assertion(aud string) (string, error)

func (JWT) AssertionType

func (j JWT) AssertionType() string

Jump to

Keyboard shortcuts

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