Documentation ¶
Index ¶
- func ClientMetaData(ctx *fiber.Ctx) *api.ClientMetaData
- func GetAuthHeaderToken(ctx *fiber.Ctx) (token string)
- func GetGrantType(ctx *fiber.Ctx) (model.GrantType, error)
- func GetGrantTypeStr(ctx *fiber.Ctx) (string, error)
- func GetMytoken(ctx *fiber.Ctx) (*universalmytoken.UniversalMytoken, bool)
- func GetMytokenStr(ctx *fiber.Ctx) string
- func GetOIDCFlow(ctx *fiber.Ctx) (model.OIDCFlow, error)
- func GetOIDCFlowStr(ctx *fiber.Ctx) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientMetaData ¶
func ClientMetaData(ctx *fiber.Ctx) *api.ClientMetaData
ClientMetaData returns the model.ClientMetaData for a given fiber.Ctx
func GetAuthHeaderToken ¶
func GetAuthHeaderToken(ctx *fiber.Ctx) (token string)
GetAuthHeaderToken returns the Bearer token from the http authorization header
func GetGrantType ¶
GetGrantType returns the model.GrantType for a fiber.Ctx by checking the query as well as the request body (json)
func GetGrantTypeStr ¶
GetGrantTypeStr returns the grant type string for a fiber.Ctx by checking the query as well as the request body (json)
func GetMytoken ¶
func GetMytoken(ctx *fiber.Ctx) (*universalmytoken.UniversalMytoken, bool)
GetMytoken checks a fiber.Ctx for a mytoken and returns a token object
func GetMytokenStr ¶
func GetMytokenStr(ctx *fiber.Ctx) string
GetMytokenStr checks a fiber.Ctx for a mytoken and returns the token string as passed to the request
func GetOIDCFlow ¶
GetOIDCFlow returns the model.OIDCFlow for a fiber.Ctx by checking the query as well as the request body (json)
func GetOIDCFlowStr ¶
GetOIDCFlowStr returns the oidc flow string for a fiber.Ctx by checking the query as well as the request body (json)
Types ¶
This section is empty.