iamtoken

package
v0.54.0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromIncomingContext

func FromIncomingContext(ctx context.Context, key string) (string, bool)

FromIncomingContext looks up a bearer token in the incoming gRPC request metadata by key.

func ParseIdentityToken

func ParseIdentityToken(token string) (*iamv1.IdentityToken, error)

ParseIdentityToken parses a JWT identity token.

func ValidateIdentityToken

func ValidateIdentityToken(token *iamv1.IdentityToken) error

ValidateIdentityToken checks that an identity token is valid and acceptable for processing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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