Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteAuthFlowInfoByState ¶
DeleteAuthFlowInfoByState deletes the AuthFlowInfoIn for a given state
func UpdateTokenInfoByState ¶ added in v0.2.0
func UpdateTokenInfoByState(tx *sqlx.Tx, state *state.State, r restrictions.Restrictions, c, sc api.Capabilities) error
Types ¶
type AuthFlowInfo ¶
type AuthFlowInfo struct { AuthFlowInfoOut PollingCode *transfercoderepo.TransferCode }
AuthFlowInfo holds database information about a started authorization flow
type AuthFlowInfoOut ¶
type AuthFlowInfoOut struct { State *state.State Issuer string Restrictions restrictions.Restrictions Capabilities api.Capabilities SubtokenCapabilities api.Capabilities Name string PollingCode bool }
AuthFlowInfoOut holds database information about a started authorization flow
func GetAuthFlowInfoByState ¶
func GetAuthFlowInfoByState(state *state.State) (*AuthFlowInfoOut, error)
GetAuthFlowInfoByState returns AuthFlowInfoIn by state
Click to show internal directories.
Click to hide internal directories.