encoding

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package encoding defines Claims for interoperable external services to use in JWTs. An external service that imports this package receives a Claims with a stable gob encoding.

Index

Constants

View Source
const OIDCClaimsSerdeNickname = "github.com/treeverse/lakefs/pkg/auth/oidc.Claims"

OIDCClaimsSerdeNickname is the typename used to serialize Claims using gob encoding in JWT. It is the default value that gob would give had Claims been part of auth. It is not (any longer), explicitly to allow external services to serialize matching claims.

Variables

This section is empty.

Functions

This section is empty.

Types

type Claims

type Claims map[string]interface{}

Jump to

Keyboard shortcuts

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