Documentation ¶
Index ¶
- func RotateMytokenAfterAT(rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, ...) (*mytoken.Mytoken, bool, error)
- func RotateMytokenAfterATForResponse(rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, ...) (*pkg.MytokenResponse, error)
- func RotateMytokenAfterOther(rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, ...) (*mytoken.Mytoken, bool, error)
- func RotateMytokenAfterOtherForResponse(rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, ...) (*pkg.MytokenResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RotateMytokenAfterAT ¶ added in v0.3.0
func RotateMytokenAfterAT( rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, clientMetaData api.ClientMetaData, ) (*mytoken.Mytoken, bool, error)
RotateMytokenAfterAT rotates a mytoken after it was used to obtain an AT if rotation is enabled for that case
func RotateMytokenAfterATForResponse ¶ added in v0.3.0
func RotateMytokenAfterATForResponse( rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, clientMetaData api.ClientMetaData, responseType model.ResponseType, ) (*pkg.MytokenResponse, error)
RotateMytokenAfterATForResponse rotates a mytoken after it was used for obtaining an AT if rotation is enabled for that case and returns a pkg.MytokenResponse with the updated infos
func RotateMytokenAfterOther ¶ added in v0.3.0
func RotateMytokenAfterOther( rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, clientMetaData api.ClientMetaData, ) (*mytoken.Mytoken, bool, error)
RotateMytokenAfterOther rotates a mytoken after it was used for other usages than AT if rotation is enabled for that case
func RotateMytokenAfterOtherForResponse ¶ added in v0.3.0
func RotateMytokenAfterOtherForResponse( rlog log.Ext1FieldLogger, tx *sqlx.Tx, oldJWT string, old *mytoken.Mytoken, clientMetaData api.ClientMetaData, responseType model.ResponseType, ) (*pkg.MytokenResponse, error)
RotateMytokenAfterOtherForResponse rotates a mytoken after it was used for other usages than AT if rotation is enabled for that case and returns a pkg.MytokenResponse with the updated infos
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.