Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenCtxResponse ¶
type TokenCtxResponse struct { JwtContextData *auth_jwt.TokenContextData ApiKeyContextData *auth_apikey.TokenContextData }
func GetTokenCtx ¶
func GetTokenCtx(ctx context.Context) (*TokenCtxResponse, error)
Attempts to get all token contexts that are available. If none, then returns unauth error
Click to show internal directories.
Click to hide internal directories.