Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginEndpoint ¶
type LoginEndpoint struct { api_server.ResourceEndpoint // contains filtered or unexported fields }
func NewLoginEndpoint ¶
func NewLoginEndpoint(service *PlainLoginService) *LoginEndpoint
func (*LoginEndpoint) HandleRequest ¶
func (e *LoginEndpoint) HandleRequest(request api_server.Request) error
type LoginResponse ¶
type LoginResponse struct { api.ResponseStub Token string `json:"token"` }
type LogoutEndpoint ¶
type LogoutEndpoint struct { api_server.ResourceEndpoint api_server.EndpointNoHandler }
Logout endpoint is derived from no handler endpoint because all processing in performed in auth preprocessing.
func NewLogoutEndpoint ¶
func NewLogoutEndpoint() *LogoutEndpoint
type PlainLoginService ¶
type PlainLoginService struct { api_server.ServiceBase // contains filtered or unexported fields }
func NewPlainLoginService ¶
func NewPlainLoginService(users auth_session.WithUserSessionManager) *PlainLoginService
type RefreshEndpoint ¶
type RefreshEndpoint struct { api_server.ResourceEndpoint api_server.EndpointNoHandler }
Refresh endpoint is derived from no handler endpoint because all processing in performed in auth preprocessing.
func NewRefreshEndpoint ¶
func NewRefreshEndpoint() *RefreshEndpoint
type UserWithPlainPassword ¶
type UserWithPlainPassword interface {
PlainPassword() string
}
Click to show internal directories.
Click to hide internal directories.