mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Bump go.opentelemetry.io/collector/processor from 0.89.0 to 0.94.1 Bumps [go.opentelemetry.io/collector/processor](https://github.com/open-telemetry/opentelemetry-collector) from 0.89.0 to 0.94.1. - [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases) - [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md) - [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.89.0...v0.94.1) --- updated-dependencies: - dependency-name: go.opentelemetry.io/collector/processor dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * Update serverless gomod * vendor update * Update serverless gomod * delete this file * add it back --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: grafanabot <[email protected]> Co-authored-by: Jennie Pham <[email protected]>
17 lines
638 B
Go
17 lines
638 B
Go
package jwt
|
|
|
|
// Claims represent any form of a JWT Claims Set according to
|
|
// https://datatracker.ietf.org/doc/html/rfc7519#section-4. In order to have a
|
|
// common basis for validation, it is required that an implementation is able to
|
|
// supply at least the claim names provided in
|
|
// https://datatracker.ietf.org/doc/html/rfc7519#section-4.1 namely `exp`,
|
|
// `iat`, `nbf`, `iss`, `sub` and `aud`.
|
|
type Claims interface {
|
|
GetExpirationTime() (*NumericDate, error)
|
|
GetIssuedAt() (*NumericDate, error)
|
|
GetNotBefore() (*NumericDate, error)
|
|
GetIssuer() (string, error)
|
|
GetSubject() (string, error)
|
|
GetAudience() (ClaimStrings, error)
|
|
}
|