Documentation ¶
Index ¶
- type Config
- type Service
- func (s *Service) InitiateBasicAuth(ctx context.Context, username, password string) (*sauth.Token, error)
- func (s *Service) ReissueIdentityToken(ctx context.Context, refreshToken string, subject string) (*sauth.Token, error)
- func (s *Service) ResetCredentials(ctx context.Context, email, newPassword string) error
- func (s *Service) VerifyIdentity(ctx context.Context, rawToken string) (*sjwt.Claims, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) InitiateBasicAuth ¶
func (*Service) ReissueIdentityToken ¶ added in v0.14.0
func (s *Service) ReissueIdentityToken(ctx context.Context, refreshToken string, subject string) (*sauth.Token, error)
ReissueIdentityToken obtains a fresh ID token by calling the Secure Token API with a valid refresh token.
func (*Service) ResetCredentials ¶ added in v0.15.2
Click to show internal directories.
Click to hide internal directories.