Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LdapService ¶
type LdapService struct {
// contains filtered or unexported fields
}
func NewAuthService ¶
func NewAuthService(cfg config.Config) *LdapService
func (*LdapService) Login ¶
func (a *LdapService) Login(username, password string) (*TokenResponse, error)
func (*LdapService) Refresh ¶
func (a *LdapService) Refresh(refreshToken string) (*TokenResponse, error)
type TokenResponse ¶
type TokenResponse struct { Access string `json:"access"` Refresh string `json:"refresh"` UserData UserClaims }
type UserClaims ¶
Click to show internal directories.
Click to hide internal directories.