Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatorService ¶
type AuthenticatorService struct {
// contains filtered or unexported fields
}
func (*AuthenticatorService) LogError ¶
func (s *AuthenticatorService) LogError(err error)
func (*AuthenticatorService) ServiceRefreshToken ¶
func (s *AuthenticatorService) ServiceRefreshToken(tokenID string, refreshToken string) (IAccessToken, error)
func (*AuthenticatorService) ServiceSignIn ¶
func (s *AuthenticatorService) ServiceSignIn(username string, password string) (ISignInData, error)
type IAccessToken ¶
type IAccessToken interface {
GetAccessToken() string
}
type IAuthenticator ¶
type IAuthenticator interface { ServiceSignIn(string, string) (ISignInData, error) ServiceRefreshToken(string, string) (IAccessToken, error) LogError(error) }
type IRoleValidatorService ¶ added in v1.0.7
type IRoleValidatorService interface { GetRoleValidatorService() RefreshToken() error GetRoleValidatorHandler() middleware.Middleware }
func NewRoleValidatorHandler ¶
type ISignInData ¶
Click to show internal directories.
Click to hide internal directories.