handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package handler implements the TokenEngine gRPC service handlers. All RPC handlers are Unimplemented stubs in v0.1 — real implementations begin in v0.2. It does not own observability wiring or interceptor chain assembly. Primary dependency: gen/v1 for the generated TokenEngineServer interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TokenHandler

type TokenHandler struct {
	tokenv1.UnimplementedTokenEngineServer
}

TokenHandler implements the TokenEngine gRPC service.

func NewTokenHandler

func NewTokenHandler() *TokenHandler

NewTokenHandler returns a new TokenHandler.

func (*TokenHandler) IssueToken

IssueToken issues a new token. Unimplemented in v0.1.

func (*TokenHandler) RefreshToken

RefreshToken refreshes an existing token. Unimplemented in v0.1.

func (*TokenHandler) RevokeAllForAudience

RevokeAllForAudience revokes all tokens for an audience. Unimplemented in v0.1.

func (*TokenHandler) RevokeAllUserTokens

func (h *TokenHandler) RevokeAllUserTokens(ctx context.Context, req *tokenv1.RevokeUserRequest) (*tokenv1.RevokeTokenResponse, error)

RevokeAllUserTokens revokes all tokens for a user. Unimplemented in v0.1.

func (*TokenHandler) RevokeToken

RevokeToken revokes a specific token. Unimplemented in v0.1.

Jump to

Keyboard shortcuts

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