Documentation ¶
Index ¶
- Constants
- type AuthMethods
- type AuthProvider
- type AuthResponse
- type Base
- type DateTime
- type JWTToken
- type RecordQueryParams
- type Service
- func (s *Service[T]) AuthRefresh(params *RecordQueryParams) (result AuthResponse[T], err error)
- func (s *Service[T]) AuthWithPassword(identity, password string, params *RecordQueryParams) (result AuthResponse[T], err error)
- func (s *Service[T]) ListAuthMethods(params *url.Values) (result AuthMethods, err error)
- type UserBase
Constants ¶
View Source
const DefaultDateLayout = "2006-01-02 15:04:05.000Z"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthMethods ¶
type AuthMethods struct { UsernamePassword bool `json:"usernamePassword"` EmailPassword bool `json:"emailPassword"` AuthProviders []AuthProvider `json:"authProviders"` }
type AuthProvider ¶
type AuthResponse ¶
type RecordQueryParams ¶
func (*RecordQueryParams) ToValues ¶
func (params *RecordQueryParams) ToValues() url.Values
type Service ¶
func (*Service[T]) AuthRefresh ¶
func (s *Service[T]) AuthRefresh(params *RecordQueryParams) (result AuthResponse[T], err error)
func (*Service[T]) AuthWithPassword ¶
func (s *Service[T]) AuthWithPassword(identity, password string, params *RecordQueryParams) (result AuthResponse[T], err error)
func (*Service[T]) ListAuthMethods ¶
func (s *Service[T]) ListAuthMethods(params *url.Values) (result AuthMethods, err error)
Click to show internal directories.
Click to hide internal directories.