jwt

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package jwt implements an oauth2.JWTokenSource implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTokenSource

func CreateTokenSource(credentials *config.CredentialsConfig) (oauth2.TokenSource, error)

func CreateTokenSourceFromPrivateKey

func CreateTokenSourceFromPrivateKey(privateKeyJWK interface{}, clientID string) (oauth2.TokenSource, error)

func JWTokenSource

func JWTokenSource(secretKey []byte, pem bool, clientID string) (oauth2.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