Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAccessToken ¶
type IAccessToken interface {
GetAccessToken() string
}
type IAuthenticator ¶
type IAuthenticator interface { InternalServiceSignIn(string, string) (ISignInData, error) InternalServiceRefreshToken(string, string) (IAccessToken, error) LogError(error) }
type IRoleValidatorService ¶
type IRoleValidatorService interface { GetRoleValidatorService() SetAuthenticator(IAuthenticator) RefreshToken() error GetRoleValidatorHandler() middleware.Middleware GetTokenExpiredHandler() middleware.Middleware }
func NewRoleValidatorService ¶
func NewRoleValidatorService(errEncoder error_encoder.IErrorEncoderService, userinfo IUserinfo, publicKey string, accessTimeout time.Duration, refreshTimeout time.Duration, logger log.Logger) IRoleValidatorService
type ISignInData ¶
Click to show internal directories.
Click to hide internal directories.