Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type APIService ¶
type APIService struct {
// contains filtered or unexported fields
}
func NewAPIService ¶
func NewAPIServiceWithClients ¶
func NewAPIServiceWithClients(apiClient apiclient.ClientWithResponsesInterface, logger logging.Logger, validateIDTokenClaims map[string]string) (*APIService, error)
func (*APIService) ValidateSTS ¶
func (s *APIService) ValidateSTS(ctx context.Context, code, redirectURI, state string) (string, error)
ValidateSTS calls the external authentication service to validate the STS parameters validates the required claims and returns the external user id and expiration time
type DummyService ¶
type DummyService struct{}
func NewDummyService ¶
func NewDummyService() *DummyService
func (DummyService) ValidateSTS ¶
Click to show internal directories.
Click to hide internal directories.