provider

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package provider defines the IdentityProvider interface that the HTTP + gRPC authenticators delegate to. Concrete implementations (Firebase, Keycloak, JWT-only) live in their own sub-packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	ValidateToken(ctx context.Context, token string) (*UserInfo, error)
	Name() string
}

Provider is a generic authentication provider interface

type UserInfo

type UserInfo struct {
	ProviderUID   string
	Email         string
	EmailVerified bool
	DisplayName   string
}

UserInfo contains authenticated user information

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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