service

package
v0.0.0-...-a1d8bd3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJwks

func GetJwks() *jose.JSONWebKeySet

Types

type AuthService

type AuthService struct {
	auth.AuthServiceServer
}

func (AuthService) Jwks

func (AuthService) Login

func (AuthService) Login(c context.Context, loginRequest *auth.LoginRequest) (*auth.JwtToken, error)

func (AuthService) Refresh

func (AuthService) Register

type JWKSJson

type JWKSJson struct {
	Keys []struct {
		N   string `json:"n"`
		Kid string `json:"kid"`
		E   string `json:"e"`
		Kty string `json:"kty"`
	} `json:"keys"`
}

Jump to

Keyboard shortcuts

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