zitadel

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package zitadel provides Zitadel OIDC authentication and JWKS-based JWT validation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client validates JWTs issued by Zitadel using JWKS.

func NewClient

func NewClient(cfg Config) *Client

NewClient creates a Zitadel JWKS client.

func (*Client) ValidateToken

func (c *Client) ValidateToken(_ context.Context, tokenString string) (jwt.MapClaims, error)

ValidateToken validates a JWT token issued by Zitadel.

type Config

type Config struct {
	Issuer string
	TTL    time.Duration
}

Config holds Zitadel connection settings.

Jump to

Keyboard shortcuts

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