encoding

package
v0.108.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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