Documentation
¶
Index ¶
Constants ¶
View Source
const (
RoleAdministrator = service.RoleAdministrator
)
Variables ¶
View Source
var ( NewConnectInterceptor = service.NewConnectInterceptor BasicAuthMiddleware = service.BasicAuthMiddleware )
View Source
var ( ErrLoginError = service.ErrLoginError ErrEndpointDisabledError = service.ErrEndpointDisabledError )
View Source
var ( ErrSessionStoreRequiredError = service.ErrSessionStoreRequiredError ErrUnauthenticatedError = service.ErrUnauthenticatedError ErrSessionLookupError = service.ErrSessionLookupError ErrNoSessionError = service.ErrNoSessionError ErrSessionCastError = service.ErrSessionCastError )
View Source
var ( SetSessionInContext = service.SetSessionInContext SesssionFromContext = service.SesssionFromContext EnsureSessionHasOneOfRole = service.EnsureSessionHasOneOfRole )
View Source
var ( ErrUserAlreadyExistsError = storage.ErrUserAlreadyExistsError ErrUnknownUserError = storage.ErrUnknownUserError ErrIncorrectPasswordError = storage.ErrIncorrectPasswordError ErrNoPasswordConfiguredError = storage.ErrNoPasswordConfiguredError ErrSessionUnknownOrInactiveError = storage.ErrSessionUnknownOrInactiveError ErrInvalidConfigurationError = storage.ErrInvalidConfigurationError ErrNoHostError = storage.ErrNoHostError ErrNoDBNameError = storage.ErrNoDBNameError ErrNoUserError = storage.ErrNoUserError ErrNoPasswordError = storage.ErrNoPasswordError )
View Source
var ( NewPostgresStore = storage.NewPostgresStore NewMemoryStore = storage.NewMemoryStore )
View Source
var (
NewService = service.NewService
)
Functions ¶
This section is empty.
Types ¶
type AuthBypassFunc ¶ added in v0.2.0
type AuthBypassFunc = service.AuthBypassFunc
type ConnectInterceptorConfig ¶ added in v0.2.0
type ConnectInterceptorConfig = service.ConnectInterceptorConfig
type MemoryStoreOpts ¶
type MemoryStoreOpts = storage.MemoryStoreOpts
type PostgresStoreConnectionOpts ¶
type PostgresStoreConnectionOpts = storage.PostgresStoreConnectionOpts
type PostgresStoreOpts ¶
type PostgresStoreOpts = storage.PostgresStoreOpts
type ServiceConfig ¶ added in v0.2.0
type ServiceConfig = service.ServiceConfig
type SessionStore ¶ added in v0.2.0
type SessionStore = service.SessionStore
Click to show internal directories.
Click to hide internal directories.