Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IService ¶
type IService interface {
LoginOtp(username, password, otp string) (*gocloak.JWT, error)
IsActiveToken(token string) (bool, error)
GetAccountIDByJWTToken(token string) (uuid.UUID, error)
GetUserInfo(accessToken string) (*gocloak.UserInfo, error)
}
func NewKeycloakService ¶
func NewKeycloakService() IService
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetAccountIDByJWTToken ¶
func (*Service) GetUserInfo ¶
Click to show internal directories.
Click to hide internal directories.