authcode

package
v0.0.0-...-2476f0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the authcode type in the database.
	Label = "auth_code"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldNonce holds the string denoting the nonce field in the database.
	FieldNonce = "nonce"
	// FieldRedirectURI holds the string denoting the redirect_uri field in the database.
	FieldRedirectURI = "redirect_uri"
	// FieldClaimsUserID holds the string denoting the claims_user_id field in the database.
	FieldClaimsUserID = "claims_user_id"
	// FieldClaimsUsername holds the string denoting the claims_username field in the database.
	FieldClaimsUsername = "claims_username"
	// FieldClaimsEmail holds the string denoting the claims_email field in the database.
	FieldClaimsEmail = "claims_email"
	// FieldClaimsEmailVerified holds the string denoting the claims_email_verified field in the database.
	FieldClaimsEmailVerified = "claims_email_verified"
	// FieldClaimsGroups holds the string denoting the claims_groups field in the database.
	FieldClaimsGroups = "claims_groups"
	// FieldClaimsPreferredUsername holds the string denoting the claims_preferred_username field in the database.
	FieldClaimsPreferredUsername = "claims_preferred_username"
	// FieldConnectorID holds the string denoting the connector_id field in the database.
	FieldConnectorID = "connector_id"
	// FieldConnectorData holds the string denoting the connector_data field in the database.
	FieldConnectorData = "connector_data"
	// FieldExpiry holds the string denoting the expiry field in the database.
	FieldExpiry = "expiry"
	// FieldCodeChallenge holds the string denoting the code_challenge field in the database.
	FieldCodeChallenge = "code_challenge"
	// FieldCodeChallengeMethod holds the string denoting the code_challenge_method field in the database.
	FieldCodeChallengeMethod = "code_challenge_method"
	// Table holds the table name of the authcode in the database.
	Table = "auth_codes"
)

Variables

View Source
var (
	// ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save.
	ClientIDValidator func(string) error
	// NonceValidator is a validator for the "nonce" field. It is called by the builders before save.
	NonceValidator func(string) error
	// RedirectURIValidator is a validator for the "redirect_uri" field. It is called by the builders before save.
	RedirectURIValidator func(string) error
	// ClaimsUserIDValidator is a validator for the "claims_user_id" field. It is called by the builders before save.
	ClaimsUserIDValidator func(string) error
	// ClaimsUsernameValidator is a validator for the "claims_username" field. It is called by the builders before save.
	ClaimsUsernameValidator func(string) error
	// ClaimsEmailValidator is a validator for the "claims_email" field. It is called by the builders before save.
	ClaimsEmailValidator func(string) error
	// DefaultClaimsPreferredUsername holds the default value on creation for the "claims_preferred_username" field.
	DefaultClaimsPreferredUsername string
	// ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save.
	ConnectorIDValidator func(string) error
	// DefaultCodeChallenge holds the default value on creation for the "code_challenge" field.
	DefaultCodeChallenge string
	// DefaultCodeChallengeMethod holds the default value on creation for the "code_challenge_method" field.
	DefaultCodeChallengeMethod string
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Columns holds all SQL columns for authcode fields.

Functions

func And

func And(predicates ...predicate.AuthCode) predicate.AuthCode

And groups predicates with the AND operator between them.

func ClaimsEmail

func ClaimsEmail(v string) predicate.AuthCode

ClaimsEmail applies equality check predicate on the "claims_email" field. It's identical to ClaimsEmailEQ.

func ClaimsEmailContains

func ClaimsEmailContains(v string) predicate.AuthCode

ClaimsEmailContains applies the Contains predicate on the "claims_email" field.

func ClaimsEmailContainsFold

func ClaimsEmailContainsFold(v string) predicate.AuthCode

ClaimsEmailContainsFold applies the ContainsFold predicate on the "claims_email" field.

func ClaimsEmailEQ

func ClaimsEmailEQ(v string) predicate.AuthCode

ClaimsEmailEQ applies the EQ predicate on the "claims_email" field.

func ClaimsEmailEqualFold

func ClaimsEmailEqualFold(v string) predicate.AuthCode

ClaimsEmailEqualFold applies the EqualFold predicate on the "claims_email" field.

func ClaimsEmailGT

func ClaimsEmailGT(v string) predicate.AuthCode

ClaimsEmailGT applies the GT predicate on the "claims_email" field.

func ClaimsEmailGTE

func ClaimsEmailGTE(v string) predicate.AuthCode

ClaimsEmailGTE applies the GTE predicate on the "claims_email" field.

func ClaimsEmailHasPrefix

func ClaimsEmailHasPrefix(v string) predicate.AuthCode

ClaimsEmailHasPrefix applies the HasPrefix predicate on the "claims_email" field.

func ClaimsEmailHasSuffix

func ClaimsEmailHasSuffix(v string) predicate.AuthCode

ClaimsEmailHasSuffix applies the HasSuffix predicate on the "claims_email" field.

func ClaimsEmailIn

func ClaimsEmailIn(vs ...string) predicate.AuthCode

ClaimsEmailIn applies the In predicate on the "claims_email" field.

func ClaimsEmailLT

func ClaimsEmailLT(v string) predicate.AuthCode

ClaimsEmailLT applies the LT predicate on the "claims_email" field.

func ClaimsEmailLTE

func ClaimsEmailLTE(v string) predicate.AuthCode

ClaimsEmailLTE applies the LTE predicate on the "claims_email" field.

func ClaimsEmailNEQ

func ClaimsEmailNEQ(v string) predicate.AuthCode

ClaimsEmailNEQ applies the NEQ predicate on the "claims_email" field.

func ClaimsEmailNotIn

func ClaimsEmailNotIn(vs ...string) predicate.AuthCode

ClaimsEmailNotIn applies the NotIn predicate on the "claims_email" field.

func ClaimsEmailVerified

func ClaimsEmailVerified(v bool) predicate.AuthCode

ClaimsEmailVerified applies equality check predicate on the "claims_email_verified" field. It's identical to ClaimsEmailVerifiedEQ.

func ClaimsEmailVerifiedEQ

func ClaimsEmailVerifiedEQ(v bool) predicate.AuthCode

ClaimsEmailVerifiedEQ applies the EQ predicate on the "claims_email_verified" field.

func ClaimsEmailVerifiedNEQ

func ClaimsEmailVerifiedNEQ(v bool) predicate.AuthCode

ClaimsEmailVerifiedNEQ applies the NEQ predicate on the "claims_email_verified" field.

func ClaimsGroupsIsNil

func ClaimsGroupsIsNil() predicate.AuthCode

ClaimsGroupsIsNil applies the IsNil predicate on the "claims_groups" field.

func ClaimsGroupsNotNil

func ClaimsGroupsNotNil() predicate.AuthCode

ClaimsGroupsNotNil applies the NotNil predicate on the "claims_groups" field.

func ClaimsPreferredUsername

func ClaimsPreferredUsername(v string) predicate.AuthCode

ClaimsPreferredUsername applies equality check predicate on the "claims_preferred_username" field. It's identical to ClaimsPreferredUsernameEQ.

func ClaimsPreferredUsernameContains

func ClaimsPreferredUsernameContains(v string) predicate.AuthCode

ClaimsPreferredUsernameContains applies the Contains predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameContainsFold

func ClaimsPreferredUsernameContainsFold(v string) predicate.AuthCode

ClaimsPreferredUsernameContainsFold applies the ContainsFold predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameEQ

func ClaimsPreferredUsernameEQ(v string) predicate.AuthCode

ClaimsPreferredUsernameEQ applies the EQ predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameEqualFold

func ClaimsPreferredUsernameEqualFold(v string) predicate.AuthCode

ClaimsPreferredUsernameEqualFold applies the EqualFold predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameGT

func ClaimsPreferredUsernameGT(v string) predicate.AuthCode

ClaimsPreferredUsernameGT applies the GT predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameGTE

func ClaimsPreferredUsernameGTE(v string) predicate.AuthCode

ClaimsPreferredUsernameGTE applies the GTE predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameHasPrefix

func ClaimsPreferredUsernameHasPrefix(v string) predicate.AuthCode

ClaimsPreferredUsernameHasPrefix applies the HasPrefix predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameHasSuffix

func ClaimsPreferredUsernameHasSuffix(v string) predicate.AuthCode

ClaimsPreferredUsernameHasSuffix applies the HasSuffix predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameIn

func ClaimsPreferredUsernameIn(vs ...string) predicate.AuthCode

ClaimsPreferredUsernameIn applies the In predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameLT

func ClaimsPreferredUsernameLT(v string) predicate.AuthCode

ClaimsPreferredUsernameLT applies the LT predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameLTE

func ClaimsPreferredUsernameLTE(v string) predicate.AuthCode

ClaimsPreferredUsernameLTE applies the LTE predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameNEQ

func ClaimsPreferredUsernameNEQ(v string) predicate.AuthCode

ClaimsPreferredUsernameNEQ applies the NEQ predicate on the "claims_preferred_username" field.

func ClaimsPreferredUsernameNotIn

func ClaimsPreferredUsernameNotIn(vs ...string) predicate.AuthCode

ClaimsPreferredUsernameNotIn applies the NotIn predicate on the "claims_preferred_username" field.

func ClaimsUserID

func ClaimsUserID(v string) predicate.AuthCode

ClaimsUserID applies equality check predicate on the "claims_user_id" field. It's identical to ClaimsUserIDEQ.

func ClaimsUserIDContains

func ClaimsUserIDContains(v string) predicate.AuthCode

ClaimsUserIDContains applies the Contains predicate on the "claims_user_id" field.

func ClaimsUserIDContainsFold

func ClaimsUserIDContainsFold(v string) predicate.AuthCode

ClaimsUserIDContainsFold applies the ContainsFold predicate on the "claims_user_id" field.

func ClaimsUserIDEQ

func ClaimsUserIDEQ(v string) predicate.AuthCode

ClaimsUserIDEQ applies the EQ predicate on the "claims_user_id" field.

func ClaimsUserIDEqualFold

func ClaimsUserIDEqualFold(v string) predicate.AuthCode

ClaimsUserIDEqualFold applies the EqualFold predicate on the "claims_user_id" field.

func ClaimsUserIDGT

func ClaimsUserIDGT(v string) predicate.AuthCode

ClaimsUserIDGT applies the GT predicate on the "claims_user_id" field.

func ClaimsUserIDGTE

func ClaimsUserIDGTE(v string) predicate.AuthCode

ClaimsUserIDGTE applies the GTE predicate on the "claims_user_id" field.

func ClaimsUserIDHasPrefix

func ClaimsUserIDHasPrefix(v string) predicate.AuthCode

ClaimsUserIDHasPrefix applies the HasPrefix predicate on the "claims_user_id" field.

func ClaimsUserIDHasSuffix

func ClaimsUserIDHasSuffix(v string) predicate.AuthCode

ClaimsUserIDHasSuffix applies the HasSuffix predicate on the "claims_user_id" field.

func ClaimsUserIDIn

func ClaimsUserIDIn(vs ...string) predicate.AuthCode

ClaimsUserIDIn applies the In predicate on the "claims_user_id" field.

func ClaimsUserIDLT

func ClaimsUserIDLT(v string) predicate.AuthCode

ClaimsUserIDLT applies the LT predicate on the "claims_user_id" field.

func ClaimsUserIDLTE

func ClaimsUserIDLTE(v string) predicate.AuthCode

ClaimsUserIDLTE applies the LTE predicate on the "claims_user_id" field.

func ClaimsUserIDNEQ

func ClaimsUserIDNEQ(v string) predicate.AuthCode

ClaimsUserIDNEQ applies the NEQ predicate on the "claims_user_id" field.

func ClaimsUserIDNotIn

func ClaimsUserIDNotIn(vs ...string) predicate.AuthCode

ClaimsUserIDNotIn applies the NotIn predicate on the "claims_user_id" field.

func ClaimsUsername

func ClaimsUsername(v string) predicate.AuthCode

ClaimsUsername applies equality check predicate on the "claims_username" field. It's identical to ClaimsUsernameEQ.

func ClaimsUsernameContains

func ClaimsUsernameContains(v string) predicate.AuthCode

ClaimsUsernameContains applies the Contains predicate on the "claims_username" field.

func ClaimsUsernameContainsFold

func ClaimsUsernameContainsFold(v string) predicate.AuthCode

ClaimsUsernameContainsFold applies the ContainsFold predicate on the "claims_username" field.

func ClaimsUsernameEQ

func ClaimsUsernameEQ(v string) predicate.AuthCode

ClaimsUsernameEQ applies the EQ predicate on the "claims_username" field.

func ClaimsUsernameEqualFold

func ClaimsUsernameEqualFold(v string) predicate.AuthCode

ClaimsUsernameEqualFold applies the EqualFold predicate on the "claims_username" field.

func ClaimsUsernameGT

func ClaimsUsernameGT(v string) predicate.AuthCode

ClaimsUsernameGT applies the GT predicate on the "claims_username" field.

func ClaimsUsernameGTE

func ClaimsUsernameGTE(v string) predicate.AuthCode

ClaimsUsernameGTE applies the GTE predicate on the "claims_username" field.

func ClaimsUsernameHasPrefix

func ClaimsUsernameHasPrefix(v string) predicate.AuthCode

ClaimsUsernameHasPrefix applies the HasPrefix predicate on the "claims_username" field.

func ClaimsUsernameHasSuffix

func ClaimsUsernameHasSuffix(v string) predicate.AuthCode

ClaimsUsernameHasSuffix applies the HasSuffix predicate on the "claims_username" field.

func ClaimsUsernameIn

func ClaimsUsernameIn(vs ...string) predicate.AuthCode

ClaimsUsernameIn applies the In predicate on the "claims_username" field.

func ClaimsUsernameLT

func ClaimsUsernameLT(v string) predicate.AuthCode

ClaimsUsernameLT applies the LT predicate on the "claims_username" field.

func ClaimsUsernameLTE

func ClaimsUsernameLTE(v string) predicate.AuthCode

ClaimsUsernameLTE applies the LTE predicate on the "claims_username" field.

func ClaimsUsernameNEQ

func ClaimsUsernameNEQ(v string) predicate.AuthCode

ClaimsUsernameNEQ applies the NEQ predicate on the "claims_username" field.

func ClaimsUsernameNotIn

func ClaimsUsernameNotIn(vs ...string) predicate.AuthCode

ClaimsUsernameNotIn applies the NotIn predicate on the "claims_username" field.

func ClientID

func ClientID(v string) predicate.AuthCode

ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.

func ClientIDContains

func ClientIDContains(v string) predicate.AuthCode

ClientIDContains applies the Contains predicate on the "client_id" field.

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.AuthCode

ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.

func ClientIDEQ

func ClientIDEQ(v string) predicate.AuthCode

ClientIDEQ applies the EQ predicate on the "client_id" field.

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.AuthCode

ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.

func ClientIDGT

func ClientIDGT(v string) predicate.AuthCode

ClientIDGT applies the GT predicate on the "client_id" field.

func ClientIDGTE

func ClientIDGTE(v string) predicate.AuthCode

ClientIDGTE applies the GTE predicate on the "client_id" field.

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.AuthCode

ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.AuthCode

ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.

func ClientIDIn

func ClientIDIn(vs ...string) predicate.AuthCode

ClientIDIn applies the In predicate on the "client_id" field.

func ClientIDLT

func ClientIDLT(v string) predicate.AuthCode

ClientIDLT applies the LT predicate on the "client_id" field.

func ClientIDLTE

func ClientIDLTE(v string) predicate.AuthCode

ClientIDLTE applies the LTE predicate on the "client_id" field.

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.AuthCode

ClientIDNEQ applies the NEQ predicate on the "client_id" field.

func ClientIDNotIn

func ClientIDNotIn(vs ...string) predicate.AuthCode

ClientIDNotIn applies the NotIn predicate on the "client_id" field.

func CodeChallenge

func CodeChallenge(v string) predicate.AuthCode

CodeChallenge applies equality check predicate on the "code_challenge" field. It's identical to CodeChallengeEQ.

func CodeChallengeContains

func CodeChallengeContains(v string) predicate.AuthCode

CodeChallengeContains applies the Contains predicate on the "code_challenge" field.

func CodeChallengeContainsFold

func CodeChallengeContainsFold(v string) predicate.AuthCode

CodeChallengeContainsFold applies the ContainsFold predicate on the "code_challenge" field.

func CodeChallengeEQ

func CodeChallengeEQ(v string) predicate.AuthCode

CodeChallengeEQ applies the EQ predicate on the "code_challenge" field.

func CodeChallengeEqualFold

func CodeChallengeEqualFold(v string) predicate.AuthCode

CodeChallengeEqualFold applies the EqualFold predicate on the "code_challenge" field.

func CodeChallengeGT

func CodeChallengeGT(v string) predicate.AuthCode

CodeChallengeGT applies the GT predicate on the "code_challenge" field.

func CodeChallengeGTE

func CodeChallengeGTE(v string) predicate.AuthCode

CodeChallengeGTE applies the GTE predicate on the "code_challenge" field.

func CodeChallengeHasPrefix

func CodeChallengeHasPrefix(v string) predicate.AuthCode

CodeChallengeHasPrefix applies the HasPrefix predicate on the "code_challenge" field.

func CodeChallengeHasSuffix

func CodeChallengeHasSuffix(v string) predicate.AuthCode

CodeChallengeHasSuffix applies the HasSuffix predicate on the "code_challenge" field.

func CodeChallengeIn

func CodeChallengeIn(vs ...string) predicate.AuthCode

CodeChallengeIn applies the In predicate on the "code_challenge" field.

func CodeChallengeLT

func CodeChallengeLT(v string) predicate.AuthCode

CodeChallengeLT applies the LT predicate on the "code_challenge" field.

func CodeChallengeLTE

func CodeChallengeLTE(v string) predicate.AuthCode

CodeChallengeLTE applies the LTE predicate on the "code_challenge" field.

func CodeChallengeMethod

func CodeChallengeMethod(v string) predicate.AuthCode

CodeChallengeMethod applies equality check predicate on the "code_challenge_method" field. It's identical to CodeChallengeMethodEQ.

func CodeChallengeMethodContains

func CodeChallengeMethodContains(v string) predicate.AuthCode

CodeChallengeMethodContains applies the Contains predicate on the "code_challenge_method" field.

func CodeChallengeMethodContainsFold

func CodeChallengeMethodContainsFold(v string) predicate.AuthCode

CodeChallengeMethodContainsFold applies the ContainsFold predicate on the "code_challenge_method" field.

func CodeChallengeMethodEQ

func CodeChallengeMethodEQ(v string) predicate.AuthCode

CodeChallengeMethodEQ applies the EQ predicate on the "code_challenge_method" field.

func CodeChallengeMethodEqualFold

func CodeChallengeMethodEqualFold(v string) predicate.AuthCode

CodeChallengeMethodEqualFold applies the EqualFold predicate on the "code_challenge_method" field.

func CodeChallengeMethodGT

func CodeChallengeMethodGT(v string) predicate.AuthCode

CodeChallengeMethodGT applies the GT predicate on the "code_challenge_method" field.

func CodeChallengeMethodGTE

func CodeChallengeMethodGTE(v string) predicate.AuthCode

CodeChallengeMethodGTE applies the GTE predicate on the "code_challenge_method" field.

func CodeChallengeMethodHasPrefix

func CodeChallengeMethodHasPrefix(v string) predicate.AuthCode

CodeChallengeMethodHasPrefix applies the HasPrefix predicate on the "code_challenge_method" field.

func CodeChallengeMethodHasSuffix

func CodeChallengeMethodHasSuffix(v string) predicate.AuthCode

CodeChallengeMethodHasSuffix applies the HasSuffix predicate on the "code_challenge_method" field.

func CodeChallengeMethodIn

func CodeChallengeMethodIn(vs ...string) predicate.AuthCode

CodeChallengeMethodIn applies the In predicate on the "code_challenge_method" field.

func CodeChallengeMethodLT

func CodeChallengeMethodLT(v string) predicate.AuthCode

CodeChallengeMethodLT applies the LT predicate on the "code_challenge_method" field.

func CodeChallengeMethodLTE

func CodeChallengeMethodLTE(v string) predicate.AuthCode

CodeChallengeMethodLTE applies the LTE predicate on the "code_challenge_method" field.

func CodeChallengeMethodNEQ

func CodeChallengeMethodNEQ(v string) predicate.AuthCode

CodeChallengeMethodNEQ applies the NEQ predicate on the "code_challenge_method" field.

func CodeChallengeMethodNotIn

func CodeChallengeMethodNotIn(vs ...string) predicate.AuthCode

CodeChallengeMethodNotIn applies the NotIn predicate on the "code_challenge_method" field.

func CodeChallengeNEQ

func CodeChallengeNEQ(v string) predicate.AuthCode

CodeChallengeNEQ applies the NEQ predicate on the "code_challenge" field.

func CodeChallengeNotIn

func CodeChallengeNotIn(vs ...string) predicate.AuthCode

CodeChallengeNotIn applies the NotIn predicate on the "code_challenge" field.

func ConnectorData

func ConnectorData(v []byte) predicate.AuthCode

ConnectorData applies equality check predicate on the "connector_data" field. It's identical to ConnectorDataEQ.

func ConnectorDataEQ

func ConnectorDataEQ(v []byte) predicate.AuthCode

ConnectorDataEQ applies the EQ predicate on the "connector_data" field.

func ConnectorDataGT

func ConnectorDataGT(v []byte) predicate.AuthCode

ConnectorDataGT applies the GT predicate on the "connector_data" field.

func ConnectorDataGTE

func ConnectorDataGTE(v []byte) predicate.AuthCode

ConnectorDataGTE applies the GTE predicate on the "connector_data" field.

func ConnectorDataIn

func ConnectorDataIn(vs ...[]byte) predicate.AuthCode

ConnectorDataIn applies the In predicate on the "connector_data" field.

func ConnectorDataIsNil

func ConnectorDataIsNil() predicate.AuthCode

ConnectorDataIsNil applies the IsNil predicate on the "connector_data" field.

func ConnectorDataLT

func ConnectorDataLT(v []byte) predicate.AuthCode

ConnectorDataLT applies the LT predicate on the "connector_data" field.

func ConnectorDataLTE

func ConnectorDataLTE(v []byte) predicate.AuthCode

ConnectorDataLTE applies the LTE predicate on the "connector_data" field.

func ConnectorDataNEQ

func ConnectorDataNEQ(v []byte) predicate.AuthCode

ConnectorDataNEQ applies the NEQ predicate on the "connector_data" field.

func ConnectorDataNotIn

func ConnectorDataNotIn(vs ...[]byte) predicate.AuthCode

ConnectorDataNotIn applies the NotIn predicate on the "connector_data" field.

func ConnectorDataNotNil

func ConnectorDataNotNil() predicate.AuthCode

ConnectorDataNotNil applies the NotNil predicate on the "connector_data" field.

func ConnectorID

func ConnectorID(v string) predicate.AuthCode

ConnectorID applies equality check predicate on the "connector_id" field. It's identical to ConnectorIDEQ.

func ConnectorIDContains

func ConnectorIDContains(v string) predicate.AuthCode

ConnectorIDContains applies the Contains predicate on the "connector_id" field.

func ConnectorIDContainsFold

func ConnectorIDContainsFold(v string) predicate.AuthCode

ConnectorIDContainsFold applies the ContainsFold predicate on the "connector_id" field.

func ConnectorIDEQ

func ConnectorIDEQ(v string) predicate.AuthCode

ConnectorIDEQ applies the EQ predicate on the "connector_id" field.

func ConnectorIDEqualFold

func ConnectorIDEqualFold(v string) predicate.AuthCode

ConnectorIDEqualFold applies the EqualFold predicate on the "connector_id" field.

func ConnectorIDGT

func ConnectorIDGT(v string) predicate.AuthCode

ConnectorIDGT applies the GT predicate on the "connector_id" field.

func ConnectorIDGTE

func ConnectorIDGTE(v string) predicate.AuthCode

ConnectorIDGTE applies the GTE predicate on the "connector_id" field.

func ConnectorIDHasPrefix

func ConnectorIDHasPrefix(v string) predicate.AuthCode

ConnectorIDHasPrefix applies the HasPrefix predicate on the "connector_id" field.

func ConnectorIDHasSuffix

func ConnectorIDHasSuffix(v string) predicate.AuthCode

ConnectorIDHasSuffix applies the HasSuffix predicate on the "connector_id" field.

func ConnectorIDIn

func ConnectorIDIn(vs ...string) predicate.AuthCode

ConnectorIDIn applies the In predicate on the "connector_id" field.

func ConnectorIDLT

func ConnectorIDLT(v string) predicate.AuthCode

ConnectorIDLT applies the LT predicate on the "connector_id" field.

func ConnectorIDLTE

func ConnectorIDLTE(v string) predicate.AuthCode

ConnectorIDLTE applies the LTE predicate on the "connector_id" field.

func ConnectorIDNEQ

func ConnectorIDNEQ(v string) predicate.AuthCode

ConnectorIDNEQ applies the NEQ predicate on the "connector_id" field.

func ConnectorIDNotIn

func ConnectorIDNotIn(vs ...string) predicate.AuthCode

ConnectorIDNotIn applies the NotIn predicate on the "connector_id" field.

func Expiry

func Expiry(v time.Time) predicate.AuthCode

Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.

func ExpiryEQ

func ExpiryEQ(v time.Time) predicate.AuthCode

ExpiryEQ applies the EQ predicate on the "expiry" field.

func ExpiryGT

func ExpiryGT(v time.Time) predicate.AuthCode

ExpiryGT applies the GT predicate on the "expiry" field.

func ExpiryGTE

func ExpiryGTE(v time.Time) predicate.AuthCode

ExpiryGTE applies the GTE predicate on the "expiry" field.

func ExpiryIn

func ExpiryIn(vs ...time.Time) predicate.AuthCode

ExpiryIn applies the In predicate on the "expiry" field.

func ExpiryLT

func ExpiryLT(v time.Time) predicate.AuthCode

ExpiryLT applies the LT predicate on the "expiry" field.

func ExpiryLTE

func ExpiryLTE(v time.Time) predicate.AuthCode

ExpiryLTE applies the LTE predicate on the "expiry" field.

func ExpiryNEQ

func ExpiryNEQ(v time.Time) predicate.AuthCode

ExpiryNEQ applies the NEQ predicate on the "expiry" field.

func ExpiryNotIn

func ExpiryNotIn(vs ...time.Time) predicate.AuthCode

ExpiryNotIn applies the NotIn predicate on the "expiry" field.

func ID

func ID(id string) predicate.AuthCode

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.AuthCode

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.AuthCode

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.AuthCode

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.AuthCode

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.AuthCode

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.AuthCode

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.AuthCode

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.AuthCode

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.AuthCode

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.AuthCode

IDNotIn applies the NotIn predicate on the ID field.

func Nonce

func Nonce(v string) predicate.AuthCode

Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.

func NonceContains

func NonceContains(v string) predicate.AuthCode

NonceContains applies the Contains predicate on the "nonce" field.

func NonceContainsFold

func NonceContainsFold(v string) predicate.AuthCode

NonceContainsFold applies the ContainsFold predicate on the "nonce" field.

func NonceEQ

func NonceEQ(v string) predicate.AuthCode

NonceEQ applies the EQ predicate on the "nonce" field.

func NonceEqualFold

func NonceEqualFold(v string) predicate.AuthCode

NonceEqualFold applies the EqualFold predicate on the "nonce" field.

func NonceGT

func NonceGT(v string) predicate.AuthCode

NonceGT applies the GT predicate on the "nonce" field.

func NonceGTE

func NonceGTE(v string) predicate.AuthCode

NonceGTE applies the GTE predicate on the "nonce" field.

func NonceHasPrefix

func NonceHasPrefix(v string) predicate.AuthCode

NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.

func NonceHasSuffix

func NonceHasSuffix(v string) predicate.AuthCode

NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.

func NonceIn

func NonceIn(vs ...string) predicate.AuthCode

NonceIn applies the In predicate on the "nonce" field.

func NonceLT

func NonceLT(v string) predicate.AuthCode

NonceLT applies the LT predicate on the "nonce" field.

func NonceLTE

func NonceLTE(v string) predicate.AuthCode

NonceLTE applies the LTE predicate on the "nonce" field.

func NonceNEQ

func NonceNEQ(v string) predicate.AuthCode

NonceNEQ applies the NEQ predicate on the "nonce" field.

func NonceNotIn

func NonceNotIn(vs ...string) predicate.AuthCode

NonceNotIn applies the NotIn predicate on the "nonce" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AuthCode) predicate.AuthCode

Or groups predicates with the OR operator between them.

func RedirectURI

func RedirectURI(v string) predicate.AuthCode

RedirectURI applies equality check predicate on the "redirect_uri" field. It's identical to RedirectURIEQ.

func RedirectURIContains

func RedirectURIContains(v string) predicate.AuthCode

RedirectURIContains applies the Contains predicate on the "redirect_uri" field.

func RedirectURIContainsFold

func RedirectURIContainsFold(v string) predicate.AuthCode

RedirectURIContainsFold applies the ContainsFold predicate on the "redirect_uri" field.

func RedirectURIEQ

func RedirectURIEQ(v string) predicate.AuthCode

RedirectURIEQ applies the EQ predicate on the "redirect_uri" field.

func RedirectURIEqualFold

func RedirectURIEqualFold(v string) predicate.AuthCode

RedirectURIEqualFold applies the EqualFold predicate on the "redirect_uri" field.

func RedirectURIGT

func RedirectURIGT(v string) predicate.AuthCode

RedirectURIGT applies the GT predicate on the "redirect_uri" field.

func RedirectURIGTE

func RedirectURIGTE(v string) predicate.AuthCode

RedirectURIGTE applies the GTE predicate on the "redirect_uri" field.

func RedirectURIHasPrefix

func RedirectURIHasPrefix(v string) predicate.AuthCode

RedirectURIHasPrefix applies the HasPrefix predicate on the "redirect_uri" field.

func RedirectURIHasSuffix

func RedirectURIHasSuffix(v string) predicate.AuthCode

RedirectURIHasSuffix applies the HasSuffix predicate on the "redirect_uri" field.

func RedirectURIIn

func RedirectURIIn(vs ...string) predicate.AuthCode

RedirectURIIn applies the In predicate on the "redirect_uri" field.

func RedirectURILT

func RedirectURILT(v string) predicate.AuthCode

RedirectURILT applies the LT predicate on the "redirect_uri" field.

func RedirectURILTE

func RedirectURILTE(v string) predicate.AuthCode

RedirectURILTE applies the LTE predicate on the "redirect_uri" field.

func RedirectURINEQ

func RedirectURINEQ(v string) predicate.AuthCode

RedirectURINEQ applies the NEQ predicate on the "redirect_uri" field.

func RedirectURINotIn

func RedirectURINotIn(vs ...string) predicate.AuthCode

RedirectURINotIn applies the NotIn predicate on the "redirect_uri" field.

func ScopesIsNil

func ScopesIsNil() predicate.AuthCode

ScopesIsNil applies the IsNil predicate on the "scopes" field.

func ScopesNotNil

func ScopesNotNil() predicate.AuthCode

ScopesNotNil applies the NotNil predicate on the "scopes" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the AuthCode queries.

func ByClaimsEmail

func ByClaimsEmail(opts ...sql.OrderTermOption) OrderOption

ByClaimsEmail orders the results by the claims_email field.

func ByClaimsEmailVerified

func ByClaimsEmailVerified(opts ...sql.OrderTermOption) OrderOption

ByClaimsEmailVerified orders the results by the claims_email_verified field.

func ByClaimsPreferredUsername

func ByClaimsPreferredUsername(opts ...sql.OrderTermOption) OrderOption

ByClaimsPreferredUsername orders the results by the claims_preferred_username field.

func ByClaimsUserID

func ByClaimsUserID(opts ...sql.OrderTermOption) OrderOption

ByClaimsUserID orders the results by the claims_user_id field.

func ByClaimsUsername

func ByClaimsUsername(opts ...sql.OrderTermOption) OrderOption

ByClaimsUsername orders the results by the claims_username field.

func ByClientID

func ByClientID(opts ...sql.OrderTermOption) OrderOption

ByClientID orders the results by the client_id field.

func ByCodeChallenge

func ByCodeChallenge(opts ...sql.OrderTermOption) OrderOption

ByCodeChallenge orders the results by the code_challenge field.

func ByCodeChallengeMethod

func ByCodeChallengeMethod(opts ...sql.OrderTermOption) OrderOption

ByCodeChallengeMethod orders the results by the code_challenge_method field.

func ByConnectorID

func ByConnectorID(opts ...sql.OrderTermOption) OrderOption

ByConnectorID orders the results by the connector_id field.

func ByExpiry

func ByExpiry(opts ...sql.OrderTermOption) OrderOption

ByExpiry orders the results by the expiry field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByNonce

func ByNonce(opts ...sql.OrderTermOption) OrderOption

ByNonce orders the results by the nonce field.

func ByRedirectURI

func ByRedirectURI(opts ...sql.OrderTermOption) OrderOption

ByRedirectURI orders the results by the redirect_uri field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL