keycloak

package
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTokenManager

func NewTokenManager(openIdConnectTokenUrl string, clientId string, secretKey string) tokenManager.AlpTokenManager

func NewTokenManagerWithCustomClient

func NewTokenManagerWithCustomClient(openIdConnectTokenUrl string, clientId string, secretKey string, client *http.Client) tokenManager.AlpTokenManager

Types

type TokenResponseModel

type TokenResponseModel struct {
	AccessToken      string `json:"access_token"`
	ExpiresIn        int64  `json:"expires_in"`
	RefreshExpiresIn int64  `json:"refresh_expires_in"`
	RefreshToken     string `json:"refresh_token"`
	SessionState     string `json:"session_state"`
	TokenType        string `json:"token_type"`
	ExpiredAt        int64
	RefreshExpiredAt int64
}

Jump to

Keyboard shortcuts

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