Documentation
¶
Index ¶
- type AuthRequest
- func (a *AuthRequest) Done() bool
- func (a *AuthRequest) GetACR() string
- func (a *AuthRequest) GetAMR() []string
- func (a *AuthRequest) GetAudience() []string
- func (a *AuthRequest) GetAuthTime() time.Time
- func (a *AuthRequest) GetClientID() string
- func (a *AuthRequest) GetCodeChallenge() *oidc.CodeChallenge
- func (a *AuthRequest) GetID() string
- func (a *AuthRequest) GetNonce() string
- func (a *AuthRequest) GetRedirectURI() string
- func (a *AuthRequest) GetResponseMode() oidc.ResponseMode
- func (a *AuthRequest) GetResponseType() oidc.ResponseType
- func (a *AuthRequest) GetScopes() []string
- func (a *AuthRequest) GetState() string
- func (a *AuthRequest) GetSubject() string
- type CreateAuthRequestParams
- type CreateKeyParams
- type CreateTokenParams
- type DBTX
- type Key
- type Queries
- func (q *Queries) CreateAuthRequest(ctx context.Context, arg CreateAuthRequestParams) (*AuthRequest, error)
- func (q *Queries) CreateKey(ctx context.Context, arg CreateKeyParams) (*Key, error)
- func (q *Queries) CreateToken(ctx context.Context, arg CreateTokenParams) (*Token, error)
- func (q *Queries) DeleteAllAuthRequests(ctx context.Context) error
- func (q *Queries) DeleteAllKeys(ctx context.Context) error
- func (q *Queries) DeleteAllTokens(ctx context.Context) error
- func (q *Queries) GetAllKeys(ctx context.Context) ([]*Key, error)
- func (q *Queries) GetAuthRequestByAuthCode(ctx context.Context, authCode sql.NullString) (*AuthRequest, error)
- func (q *Queries) GetAuthRequestByID(ctx context.Context, id string) (*AuthRequest, error)
- func (q *Queries) GetKeyByID(ctx context.Context, id string) (*Key, error)
- func (q *Queries) GetKeysByUse(ctx context.Context, usage string) ([]*Key, error)
- func (q *Queries) GetTokenByID(ctx context.Context, id string) (*Token, error)
- func (q *Queries) UpdateAuthCode(ctx context.Context, arg UpdateAuthCodeParams) (int64, error)
- func (q *Queries) UpdateAuthRequestUser(ctx context.Context, arg UpdateAuthRequestUserParams) (int64, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Token
- type UpdateAuthCodeParams
- type UpdateAuthRequestUserParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthRequest ¶
type AuthRequest struct {
ID string
ApplicationID string
RedirectUri string
State string
Prompt string
LoginHint string
MaxAuthAgeSeconds int64
UserID string
Scopes string
ResponseType string
ResponseMode string
Nonce string
CodeChallenge string
CodeChallengeMethod string
Complete bool
CreatedAt int64
AuthenticatedAt int64
AuthCode sql.NullString
}
func (*AuthRequest) Done ¶
func (a *AuthRequest) Done() bool
func (*AuthRequest) GetACR ¶
func (a *AuthRequest) GetACR() string
func (*AuthRequest) GetAMR ¶
func (a *AuthRequest) GetAMR() []string
func (*AuthRequest) GetAudience ¶
func (a *AuthRequest) GetAudience() []string
func (*AuthRequest) GetAuthTime ¶
func (a *AuthRequest) GetAuthTime() time.Time
func (*AuthRequest) GetClientID ¶
func (a *AuthRequest) GetClientID() string
func (*AuthRequest) GetCodeChallenge ¶
func (a *AuthRequest) GetCodeChallenge() *oidc.CodeChallenge
func (*AuthRequest) GetID ¶
func (a *AuthRequest) GetID() string
func (*AuthRequest) GetNonce ¶
func (a *AuthRequest) GetNonce() string
func (*AuthRequest) GetRedirectURI ¶
func (a *AuthRequest) GetRedirectURI() string
func (*AuthRequest) GetResponseMode ¶
func (a *AuthRequest) GetResponseMode() oidc.ResponseMode
func (*AuthRequest) GetResponseType ¶
func (a *AuthRequest) GetResponseType() oidc.ResponseType
func (*AuthRequest) GetScopes ¶
func (a *AuthRequest) GetScopes() []string
func (*AuthRequest) GetState ¶
func (a *AuthRequest) GetState() string
func (*AuthRequest) GetSubject ¶
func (a *AuthRequest) GetSubject() string
type CreateAuthRequestParams ¶
type CreateAuthRequestParams struct {
ID string
ApplicationID string
RedirectUri string
State string
Prompt string
LoginHint string
MaxAuthAgeSeconds int64
UserID string
Scopes string
ResponseType string
ResponseMode string
CodeChallenge string
CodeChallengeMethod string
Nonce string
Complete bool
CreatedAt int64
AuthenticatedAt int64
}
type CreateKeyParams ¶
type CreateTokenParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAuthRequest ¶
func (q *Queries) CreateAuthRequest(ctx context.Context, arg CreateAuthRequestParams) (*AuthRequest, error)
func (*Queries) CreateToken ¶
func (*Queries) DeleteAllAuthRequests ¶
func (*Queries) GetAuthRequestByAuthCode ¶
func (q *Queries) GetAuthRequestByAuthCode(ctx context.Context, authCode sql.NullString) (*AuthRequest, error)
func (*Queries) GetAuthRequestByID ¶
func (*Queries) GetKeyByID ¶
func (*Queries) GetKeysByUse ¶
func (*Queries) GetTokenByID ¶
func (*Queries) UpdateAuthCode ¶
func (*Queries) UpdateAuthRequestUser ¶
type UpdateAuthCodeParams ¶
type UpdateAuthCodeParams struct {
AuthCode sql.NullString
ID string
}
Click to show internal directories.
Click to hide internal directories.