Documentation
¶
Index ¶
- func AuthorizationEndpointLog(path string, ev LogEvent, params map[string]string, msg string) string
- func EndpointLog(endpoint, realm string, ev LogEvent, params map[string]string, msg string) string
- func NewDefaultLogger() *defaultLogger
- func ProtectedResourceLog(path string, ev LogEvent, params map[string]string, msg string) string
- func SetLevelForDefaultLogger(level LogLevel)
- func TokenEndpointLog(grantType string, ev LogEvent, params map[string]string, msg string) string
- type LogEvent
- type LogLevel
- type Logger
- type TextColor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointLog ¶
func NewDefaultLogger ¶
func NewDefaultLogger() *defaultLogger
func ProtectedResourceLog ¶
func SetLevelForDefaultLogger ¶
func SetLevelForDefaultLogger(level LogLevel)
Types ¶
type LogEvent ¶
type LogEvent int
const ( AuthenticationFailed LogEvent = iota CodeChallengeFailed AuthInfoConditionMismatch AuthSessionConditionMismatch ScopeConditionMismatch RefreshTokenConditionMismatch RedirectURIMismatch AssertionConditionMismatch InterfaceUnsupported InterfaceServerError InterfaceError InvalidScope InvalidDisplay InvalidMaxAge InvalidResponseType InvalidResponseMode InvalidNonce InvalidPrompt InvalidCodeVerifier AccessTokenGranted InvalidHTTPMethod MissingParam UnsupportedGrantType UnsupportedCodeChallengeMethod NoCredential NoEnabledClient NoEnabledAuthInfo NoEnabledAuthSession NoEnabledAccessToken NoEnabledUserId AccessTokenCreationFailed AccessTokenRefreshFailed DisableSessionFailed AuthInfoCreationFailed IdTokenGeneration LoginRequired )
type Logger ¶
type Logger interface { Debug(args ...interface{}) Info(args ...interface{}) Warn(args ...interface{}) Error(args ...interface{}) Fatal(args ...interface{}) Debugf(format string, args ...interface{}) Infof(format string, args ...interface{}) Warnf(format string, args ...interface{}) Errorf(format string, args ...interface{}) Fatalf(format string, args ...interface{}) }
Click to show internal directories.
Click to hide internal directories.