Documentation
¶
Index ¶
- func InsertAuthentication(ctx context.Context, accountId string, idTokenHash []byte, ...) (*authenticationPkg.Authentication, error)
- func InsertDbscChallenge(ctx context.Context, challenge string, authenticationId string, ...) error
- func InsertOauthFlow(ctx context.Context, state string, codeVerifier string, redirectUrl string, ...) (*oauth_flow.Flow, error)
- func PopDbscChallenge(ctx context.Context, challenge string, authenticationId string, db *sql.DB) (*dbsc_challenge.Challenge, error)
- func PopOauthFlow(ctx context.Context, id string, db *sql.DB) (*oauth_flow.Flow, error)
- func SelectEmailAddressAccount(ctx context.Context, emailAddress string, database *sql.DB) (*accountPkg.Account, error)
- func SelectRefreshAuthentication(ctx context.Context, id string, database *sql.DB) (*authenticationPkg.Authentication, error)
- func UpdateAuthenticationWithDbscPublicKey(ctx context.Context, id string, key []byte, database *sql.DB) error
- func UpdateAuthenticationWithEnded(ctx context.Context, id string, database *sql.DB) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertAuthentication ¶
func InsertAuthentication( ctx context.Context, accountId string, idTokenHash []byte, expirationDuration time.Duration, metadata *authenticationPkg.ClientMetadata, database *sql.DB, ) (*authenticationPkg.Authentication, error)
func InsertDbscChallenge ¶
func InsertOauthFlow ¶
func PopDbscChallenge ¶
func PopOauthFlow ¶
func SelectRefreshAuthentication ¶
func SelectRefreshAuthentication(ctx context.Context, id string, database *sql.DB) (*authenticationPkg.Authentication, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.