Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIInterface ¶
type APIInterface struct {
GetOpenIdDiscoveryConfigurationGET *func(options APIOptions, userContext supertokens.UserContext) (GetOpenIdDiscoveryConfigurationAPIResponse, error)
}
type APIOptions ¶
type APIOptions struct { RecipeImplementation RecipeInterface Config TypeNormalisedInput RecipeID string Req *http.Request Res http.ResponseWriter OtherHandler http.HandlerFunc }
type GetOpenIdDiscoveryConfigurationAPIResponse ¶ added in v0.7.0
type GetOpenIdDiscoveryConfigurationAPIResponse struct { OK *struct { Issuer string Jwks_uri string } GeneralError *supertokens.GeneralErrorResponse }
type OverrideStruct ¶
type OverrideStruct struct { Functions func(originalImplementation RecipeInterface) RecipeInterface APIs func(originalImplementation APIInterface) APIInterface JwtFeature *jwtmodels.OverrideStruct }
type RecipeInterface ¶
type RecipeInterface struct { GetOpenIdDiscoveryConfiguration *func(userContext supertokens.UserContext) (GetOpenIdDiscoveryConfigurationResponse, error) CreateJWT *func(payload map[string]interface{}, validitySeconds *uint64, userContext supertokens.UserContext) (jwtmodels.CreateJWTResponse, error) GetJWKS *func(userContext supertokens.UserContext) (jwtmodels.GetJWKSResponse, error) }
type TypeInput ¶
type TypeInput struct { Issuer *string JwtValiditySeconds *uint64 Override *OverrideStruct }
type TypeNormalisedInput ¶
type TypeNormalisedInput struct { IssuerDomain supertokens.NormalisedURLDomain IssuerPath supertokens.NormalisedURLPath JwtValiditySeconds *uint64 Override OverrideStruct }
Click to show internal directories.
Click to hide internal directories.