oauthauthcode

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the oauthauthcode type in the database.
	Label = "oauth_auth_code"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCodeSignature holds the string denoting the code_signature field in the database.
	FieldCodeSignature = "code_signature"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// 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"
	// FieldRedirectURI holds the string denoting the redirect_uri field in the database.
	FieldRedirectURI = "redirect_uri"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldNonce holds the string denoting the nonce field in the database.
	FieldNonce = "nonce"
	// FieldRequestData holds the string denoting the request_data field in the database.
	FieldRequestData = "request_data"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldUsed holds the string denoting the used field in the database.
	FieldUsed = "used"
	// FieldUsedAt holds the string denoting the used_at field in the database.
	FieldUsedAt = "used_at"
	// FieldClientIP holds the string denoting the client_ip field in the database.
	FieldClientIP = "client_ip"
	// FieldUserAgent holds the string denoting the user_agent field in the database.
	FieldUserAgent = "user_agent"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeApp holds the string denoting the app edge name in mutations.
	EdgeApp = "app"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the oauthauthcode in the database.
	Table = "cf_oauth_auth_codes"
	// AppTable is the table that holds the app relation/edge.
	AppTable = "cf_oauth_auth_codes"
	// AppInverseTable is the table name for the OAuthApp entity.
	// It exists in this package in order to avoid circular dependency with the "oauthapp" package.
	AppInverseTable = "cf_oauth_apps"
	// AppColumn is the table column denoting the app relation/edge.
	AppColumn = "app_id"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "cf_oauth_auth_codes"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "cf_users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
)

Variables

View Source
var (
	// DefaultCodeChallengeMethod holds the default value on creation for the "code_challenge_method" field.
	DefaultCodeChallengeMethod string
	// DefaultScopes holds the default value on creation for the "scopes" field.
	DefaultScopes []string
	// DefaultUsed holds the default value on creation for the "used" field.
	DefaultUsed bool
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for oauthauthcode fields.

Functions

func And

And groups predicates with the AND operator between them.

func AppID

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDEQ

func AppIDEQ(v uuid.UUID) predicate.OAuthAuthCode

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...uuid.UUID) predicate.OAuthAuthCode

AppIDIn applies the In predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v uuid.UUID) predicate.OAuthAuthCode

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...uuid.UUID) predicate.OAuthAuthCode

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func ClientIP

func ClientIP(v string) predicate.OAuthAuthCode

ClientIP applies equality check predicate on the "client_ip" field. It's identical to ClientIPEQ.

func ClientIPContains

func ClientIPContains(v string) predicate.OAuthAuthCode

ClientIPContains applies the Contains predicate on the "client_ip" field.

func ClientIPContainsFold

func ClientIPContainsFold(v string) predicate.OAuthAuthCode

ClientIPContainsFold applies the ContainsFold predicate on the "client_ip" field.

func ClientIPEQ

func ClientIPEQ(v string) predicate.OAuthAuthCode

ClientIPEQ applies the EQ predicate on the "client_ip" field.

func ClientIPEqualFold

func ClientIPEqualFold(v string) predicate.OAuthAuthCode

ClientIPEqualFold applies the EqualFold predicate on the "client_ip" field.

func ClientIPGT

func ClientIPGT(v string) predicate.OAuthAuthCode

ClientIPGT applies the GT predicate on the "client_ip" field.

func ClientIPGTE

func ClientIPGTE(v string) predicate.OAuthAuthCode

ClientIPGTE applies the GTE predicate on the "client_ip" field.

func ClientIPHasPrefix

func ClientIPHasPrefix(v string) predicate.OAuthAuthCode

ClientIPHasPrefix applies the HasPrefix predicate on the "client_ip" field.

func ClientIPHasSuffix

func ClientIPHasSuffix(v string) predicate.OAuthAuthCode

ClientIPHasSuffix applies the HasSuffix predicate on the "client_ip" field.

func ClientIPIn

func ClientIPIn(vs ...string) predicate.OAuthAuthCode

ClientIPIn applies the In predicate on the "client_ip" field.

func ClientIPIsNil

func ClientIPIsNil() predicate.OAuthAuthCode

ClientIPIsNil applies the IsNil predicate on the "client_ip" field.

func ClientIPLT

func ClientIPLT(v string) predicate.OAuthAuthCode

ClientIPLT applies the LT predicate on the "client_ip" field.

func ClientIPLTE

func ClientIPLTE(v string) predicate.OAuthAuthCode

ClientIPLTE applies the LTE predicate on the "client_ip" field.

func ClientIPNEQ

func ClientIPNEQ(v string) predicate.OAuthAuthCode

ClientIPNEQ applies the NEQ predicate on the "client_ip" field.

func ClientIPNotIn

func ClientIPNotIn(vs ...string) predicate.OAuthAuthCode

ClientIPNotIn applies the NotIn predicate on the "client_ip" field.

func ClientIPNotNil

func ClientIPNotNil() predicate.OAuthAuthCode

ClientIPNotNil applies the NotNil predicate on the "client_ip" field.

func CodeChallenge

func CodeChallenge(v string) predicate.OAuthAuthCode

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

func CodeChallengeContains

func CodeChallengeContains(v string) predicate.OAuthAuthCode

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

func CodeChallengeContainsFold

func CodeChallengeContainsFold(v string) predicate.OAuthAuthCode

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

func CodeChallengeEQ

func CodeChallengeEQ(v string) predicate.OAuthAuthCode

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

func CodeChallengeEqualFold

func CodeChallengeEqualFold(v string) predicate.OAuthAuthCode

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

func CodeChallengeGT

func CodeChallengeGT(v string) predicate.OAuthAuthCode

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

func CodeChallengeGTE

func CodeChallengeGTE(v string) predicate.OAuthAuthCode

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

func CodeChallengeHasPrefix

func CodeChallengeHasPrefix(v string) predicate.OAuthAuthCode

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

func CodeChallengeHasSuffix

func CodeChallengeHasSuffix(v string) predicate.OAuthAuthCode

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

func CodeChallengeIn

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

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

func CodeChallengeIsNil

func CodeChallengeIsNil() predicate.OAuthAuthCode

CodeChallengeIsNil applies the IsNil predicate on the "code_challenge" field.

func CodeChallengeLT

func CodeChallengeLT(v string) predicate.OAuthAuthCode

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

func CodeChallengeLTE

func CodeChallengeLTE(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethod

func CodeChallengeMethod(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodContains

func CodeChallengeMethodContains(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodContainsFold

func CodeChallengeMethodContainsFold(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodEQ

func CodeChallengeMethodEQ(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodEqualFold

func CodeChallengeMethodEqualFold(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodGT

func CodeChallengeMethodGT(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodGTE

func CodeChallengeMethodGTE(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodHasPrefix

func CodeChallengeMethodHasPrefix(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodHasSuffix

func CodeChallengeMethodHasSuffix(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodIn

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

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

func CodeChallengeMethodIsNil

func CodeChallengeMethodIsNil() predicate.OAuthAuthCode

CodeChallengeMethodIsNil applies the IsNil predicate on the "code_challenge_method" field.

func CodeChallengeMethodLT

func CodeChallengeMethodLT(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodLTE

func CodeChallengeMethodLTE(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodNEQ

func CodeChallengeMethodNEQ(v string) predicate.OAuthAuthCode

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

func CodeChallengeMethodNotIn

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

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

func CodeChallengeMethodNotNil

func CodeChallengeMethodNotNil() predicate.OAuthAuthCode

CodeChallengeMethodNotNil applies the NotNil predicate on the "code_challenge_method" field.

func CodeChallengeNEQ

func CodeChallengeNEQ(v string) predicate.OAuthAuthCode

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

func CodeChallengeNotIn

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

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

func CodeChallengeNotNil

func CodeChallengeNotNil() predicate.OAuthAuthCode

CodeChallengeNotNil applies the NotNil predicate on the "code_challenge" field.

func CodeSignature

func CodeSignature(v string) predicate.OAuthAuthCode

CodeSignature applies equality check predicate on the "code_signature" field. It's identical to CodeSignatureEQ.

func CodeSignatureContains

func CodeSignatureContains(v string) predicate.OAuthAuthCode

CodeSignatureContains applies the Contains predicate on the "code_signature" field.

func CodeSignatureContainsFold

func CodeSignatureContainsFold(v string) predicate.OAuthAuthCode

CodeSignatureContainsFold applies the ContainsFold predicate on the "code_signature" field.

func CodeSignatureEQ

func CodeSignatureEQ(v string) predicate.OAuthAuthCode

CodeSignatureEQ applies the EQ predicate on the "code_signature" field.

func CodeSignatureEqualFold

func CodeSignatureEqualFold(v string) predicate.OAuthAuthCode

CodeSignatureEqualFold applies the EqualFold predicate on the "code_signature" field.

func CodeSignatureGT

func CodeSignatureGT(v string) predicate.OAuthAuthCode

CodeSignatureGT applies the GT predicate on the "code_signature" field.

func CodeSignatureGTE

func CodeSignatureGTE(v string) predicate.OAuthAuthCode

CodeSignatureGTE applies the GTE predicate on the "code_signature" field.

func CodeSignatureHasPrefix

func CodeSignatureHasPrefix(v string) predicate.OAuthAuthCode

CodeSignatureHasPrefix applies the HasPrefix predicate on the "code_signature" field.

func CodeSignatureHasSuffix

func CodeSignatureHasSuffix(v string) predicate.OAuthAuthCode

CodeSignatureHasSuffix applies the HasSuffix predicate on the "code_signature" field.

func CodeSignatureIn

func CodeSignatureIn(vs ...string) predicate.OAuthAuthCode

CodeSignatureIn applies the In predicate on the "code_signature" field.

func CodeSignatureLT

func CodeSignatureLT(v string) predicate.OAuthAuthCode

CodeSignatureLT applies the LT predicate on the "code_signature" field.

func CodeSignatureLTE

func CodeSignatureLTE(v string) predicate.OAuthAuthCode

CodeSignatureLTE applies the LTE predicate on the "code_signature" field.

func CodeSignatureNEQ

func CodeSignatureNEQ(v string) predicate.OAuthAuthCode

CodeSignatureNEQ applies the NEQ predicate on the "code_signature" field.

func CodeSignatureNotIn

func CodeSignatureNotIn(vs ...string) predicate.OAuthAuthCode

CodeSignatureNotIn applies the NotIn predicate on the "code_signature" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.OAuthAuthCode

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OAuthAuthCode

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OAuthAuthCode

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OAuthAuthCode

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.OAuthAuthCode

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OAuthAuthCode

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OAuthAuthCode

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OAuthAuthCode

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.OAuthAuthCode

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.OAuthAuthCode

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.OAuthAuthCode

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.OAuthAuthCode

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.OAuthAuthCode

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.OAuthAuthCode

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.OAuthAuthCode

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.OAuthAuthCode

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.OAuthAuthCode

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.OAuthAuthCode

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func HasApp

func HasApp() predicate.OAuthAuthCode

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppWith

func HasAppWith(preds ...predicate.OAuthApp) predicate.OAuthAuthCode

HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.OAuthAuthCode

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.OAuthAuthCode

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.OAuthAuthCode

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.OAuthAuthCode

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.OAuthAuthCode

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.OAuthAuthCode

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.OAuthAuthCode

IDNotIn applies the NotIn predicate on the ID field.

func Nonce

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

func NonceContains

func NonceContains(v string) predicate.OAuthAuthCode

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

func NonceContainsFold

func NonceContainsFold(v string) predicate.OAuthAuthCode

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

func NonceEQ

func NonceEQ(v string) predicate.OAuthAuthCode

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

func NonceEqualFold

func NonceEqualFold(v string) predicate.OAuthAuthCode

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

func NonceGT

func NonceGT(v string) predicate.OAuthAuthCode

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

func NonceGTE

func NonceGTE(v string) predicate.OAuthAuthCode

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

func NonceHasPrefix

func NonceHasPrefix(v string) predicate.OAuthAuthCode

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

func NonceHasSuffix

func NonceHasSuffix(v string) predicate.OAuthAuthCode

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

func NonceIn

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

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

func NonceIsNil

func NonceIsNil() predicate.OAuthAuthCode

NonceIsNil applies the IsNil predicate on the "nonce" field.

func NonceLT

func NonceLT(v string) predicate.OAuthAuthCode

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

func NonceLTE

func NonceLTE(v string) predicate.OAuthAuthCode

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

func NonceNEQ

func NonceNEQ(v string) predicate.OAuthAuthCode

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

func NonceNotIn

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

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

func NonceNotNil

func NonceNotNil() predicate.OAuthAuthCode

NonceNotNil applies the NotNil predicate on the "nonce" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func RedirectURI

func RedirectURI(v string) predicate.OAuthAuthCode

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

func RedirectURIContains

func RedirectURIContains(v string) predicate.OAuthAuthCode

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

func RedirectURIContainsFold

func RedirectURIContainsFold(v string) predicate.OAuthAuthCode

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

func RedirectURIEQ

func RedirectURIEQ(v string) predicate.OAuthAuthCode

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

func RedirectURIEqualFold

func RedirectURIEqualFold(v string) predicate.OAuthAuthCode

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

func RedirectURIGT

func RedirectURIGT(v string) predicate.OAuthAuthCode

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

func RedirectURIGTE

func RedirectURIGTE(v string) predicate.OAuthAuthCode

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

func RedirectURIHasPrefix

func RedirectURIHasPrefix(v string) predicate.OAuthAuthCode

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

func RedirectURIHasSuffix

func RedirectURIHasSuffix(v string) predicate.OAuthAuthCode

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

func RedirectURIIn

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

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

func RedirectURILT

func RedirectURILT(v string) predicate.OAuthAuthCode

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

func RedirectURILTE

func RedirectURILTE(v string) predicate.OAuthAuthCode

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

func RedirectURINEQ

func RedirectURINEQ(v string) predicate.OAuthAuthCode

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

func RedirectURINotIn

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

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

func RequestData

func RequestData(v string) predicate.OAuthAuthCode

RequestData applies equality check predicate on the "request_data" field. It's identical to RequestDataEQ.

func RequestDataContains

func RequestDataContains(v string) predicate.OAuthAuthCode

RequestDataContains applies the Contains predicate on the "request_data" field.

func RequestDataContainsFold

func RequestDataContainsFold(v string) predicate.OAuthAuthCode

RequestDataContainsFold applies the ContainsFold predicate on the "request_data" field.

func RequestDataEQ

func RequestDataEQ(v string) predicate.OAuthAuthCode

RequestDataEQ applies the EQ predicate on the "request_data" field.

func RequestDataEqualFold

func RequestDataEqualFold(v string) predicate.OAuthAuthCode

RequestDataEqualFold applies the EqualFold predicate on the "request_data" field.

func RequestDataGT

func RequestDataGT(v string) predicate.OAuthAuthCode

RequestDataGT applies the GT predicate on the "request_data" field.

func RequestDataGTE

func RequestDataGTE(v string) predicate.OAuthAuthCode

RequestDataGTE applies the GTE predicate on the "request_data" field.

func RequestDataHasPrefix

func RequestDataHasPrefix(v string) predicate.OAuthAuthCode

RequestDataHasPrefix applies the HasPrefix predicate on the "request_data" field.

func RequestDataHasSuffix

func RequestDataHasSuffix(v string) predicate.OAuthAuthCode

RequestDataHasSuffix applies the HasSuffix predicate on the "request_data" field.

func RequestDataIn

func RequestDataIn(vs ...string) predicate.OAuthAuthCode

RequestDataIn applies the In predicate on the "request_data" field.

func RequestDataIsNil

func RequestDataIsNil() predicate.OAuthAuthCode

RequestDataIsNil applies the IsNil predicate on the "request_data" field.

func RequestDataLT

func RequestDataLT(v string) predicate.OAuthAuthCode

RequestDataLT applies the LT predicate on the "request_data" field.

func RequestDataLTE

func RequestDataLTE(v string) predicate.OAuthAuthCode

RequestDataLTE applies the LTE predicate on the "request_data" field.

func RequestDataNEQ

func RequestDataNEQ(v string) predicate.OAuthAuthCode

RequestDataNEQ applies the NEQ predicate on the "request_data" field.

func RequestDataNotIn

func RequestDataNotIn(vs ...string) predicate.OAuthAuthCode

RequestDataNotIn applies the NotIn predicate on the "request_data" field.

func RequestDataNotNil

func RequestDataNotNil() predicate.OAuthAuthCode

RequestDataNotNil applies the NotNil predicate on the "request_data" field.

func State

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateContains

func StateContains(v string) predicate.OAuthAuthCode

StateContains applies the Contains predicate on the "state" field.

func StateContainsFold

func StateContainsFold(v string) predicate.OAuthAuthCode

StateContainsFold applies the ContainsFold predicate on the "state" field.

func StateEQ

func StateEQ(v string) predicate.OAuthAuthCode

StateEQ applies the EQ predicate on the "state" field.

func StateEqualFold

func StateEqualFold(v string) predicate.OAuthAuthCode

StateEqualFold applies the EqualFold predicate on the "state" field.

func StateGT

func StateGT(v string) predicate.OAuthAuthCode

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v string) predicate.OAuthAuthCode

StateGTE applies the GTE predicate on the "state" field.

func StateHasPrefix

func StateHasPrefix(v string) predicate.OAuthAuthCode

StateHasPrefix applies the HasPrefix predicate on the "state" field.

func StateHasSuffix

func StateHasSuffix(v string) predicate.OAuthAuthCode

StateHasSuffix applies the HasSuffix predicate on the "state" field.

func StateIn

func StateIn(vs ...string) predicate.OAuthAuthCode

StateIn applies the In predicate on the "state" field.

func StateIsNil

func StateIsNil() predicate.OAuthAuthCode

StateIsNil applies the IsNil predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.OAuthAuthCode

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v string) predicate.OAuthAuthCode

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v string) predicate.OAuthAuthCode

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...string) predicate.OAuthAuthCode

StateNotIn applies the NotIn predicate on the "state" field.

func StateNotNil

func StateNotNil() predicate.OAuthAuthCode

StateNotNil applies the NotNil predicate on the "state" field.

func Used

Used applies equality check predicate on the "used" field. It's identical to UsedEQ.

func UsedAt

func UsedAt(v time.Time) predicate.OAuthAuthCode

UsedAt applies equality check predicate on the "used_at" field. It's identical to UsedAtEQ.

func UsedAtEQ

func UsedAtEQ(v time.Time) predicate.OAuthAuthCode

UsedAtEQ applies the EQ predicate on the "used_at" field.

func UsedAtGT

func UsedAtGT(v time.Time) predicate.OAuthAuthCode

UsedAtGT applies the GT predicate on the "used_at" field.

func UsedAtGTE

func UsedAtGTE(v time.Time) predicate.OAuthAuthCode

UsedAtGTE applies the GTE predicate on the "used_at" field.

func UsedAtIn

func UsedAtIn(vs ...time.Time) predicate.OAuthAuthCode

UsedAtIn applies the In predicate on the "used_at" field.

func UsedAtIsNil

func UsedAtIsNil() predicate.OAuthAuthCode

UsedAtIsNil applies the IsNil predicate on the "used_at" field.

func UsedAtLT

func UsedAtLT(v time.Time) predicate.OAuthAuthCode

UsedAtLT applies the LT predicate on the "used_at" field.

func UsedAtLTE

func UsedAtLTE(v time.Time) predicate.OAuthAuthCode

UsedAtLTE applies the LTE predicate on the "used_at" field.

func UsedAtNEQ

func UsedAtNEQ(v time.Time) predicate.OAuthAuthCode

UsedAtNEQ applies the NEQ predicate on the "used_at" field.

func UsedAtNotIn

func UsedAtNotIn(vs ...time.Time) predicate.OAuthAuthCode

UsedAtNotIn applies the NotIn predicate on the "used_at" field.

func UsedAtNotNil

func UsedAtNotNil() predicate.OAuthAuthCode

UsedAtNotNil applies the NotNil predicate on the "used_at" field.

func UsedEQ

func UsedEQ(v bool) predicate.OAuthAuthCode

UsedEQ applies the EQ predicate on the "used" field.

func UsedNEQ

func UsedNEQ(v bool) predicate.OAuthAuthCode

UsedNEQ applies the NEQ predicate on the "used" field.

func UserAgent

func UserAgent(v string) predicate.OAuthAuthCode

UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.

func UserAgentContains

func UserAgentContains(v string) predicate.OAuthAuthCode

UserAgentContains applies the Contains predicate on the "user_agent" field.

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.OAuthAuthCode

UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.

func UserAgentEQ

func UserAgentEQ(v string) predicate.OAuthAuthCode

UserAgentEQ applies the EQ predicate on the "user_agent" field.

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.OAuthAuthCode

UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.

func UserAgentGT

func UserAgentGT(v string) predicate.OAuthAuthCode

UserAgentGT applies the GT predicate on the "user_agent" field.

func UserAgentGTE

func UserAgentGTE(v string) predicate.OAuthAuthCode

UserAgentGTE applies the GTE predicate on the "user_agent" field.

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.OAuthAuthCode

UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.OAuthAuthCode

UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.

func UserAgentIn

func UserAgentIn(vs ...string) predicate.OAuthAuthCode

UserAgentIn applies the In predicate on the "user_agent" field.

func UserAgentIsNil

func UserAgentIsNil() predicate.OAuthAuthCode

UserAgentIsNil applies the IsNil predicate on the "user_agent" field.

func UserAgentLT

func UserAgentLT(v string) predicate.OAuthAuthCode

UserAgentLT applies the LT predicate on the "user_agent" field.

func UserAgentLTE

func UserAgentLTE(v string) predicate.OAuthAuthCode

UserAgentLTE applies the LTE predicate on the "user_agent" field.

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.OAuthAuthCode

UserAgentNEQ applies the NEQ predicate on the "user_agent" field.

func UserAgentNotIn

func UserAgentNotIn(vs ...string) predicate.OAuthAuthCode

UserAgentNotIn applies the NotIn predicate on the "user_agent" field.

func UserAgentNotNil

func UserAgentNotNil() predicate.OAuthAuthCode

UserAgentNotNil applies the NotNil predicate on the "user_agent" field.

func UserID

func UserID(v uuid.UUID) predicate.OAuthAuthCode

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.OAuthAuthCode

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.OAuthAuthCode

UserIDIn applies the In predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.OAuthAuthCode

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.OAuthAuthCode

UserIDNotIn applies the NotIn predicate on the "user_id" 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 OAuthAuthCode queries.

func ByAppField

func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption

ByAppField orders the results by app field.

func ByAppID

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

ByAppID orders the results by the app_id field.

func ByClientIP

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

ByClientIP orders the results by the client_ip 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 ByCodeSignature

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

ByCodeSignature orders the results by the code_signature field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at 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.

func ByRequestData

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

ByRequestData orders the results by the request_data field.

func ByState

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

ByState orders the results by the state field.

func ByUsed

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

ByUsed orders the results by the used field.

func ByUsedAt

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

ByUsedAt orders the results by the used_at field.

func ByUserAgent

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

ByUserAgent orders the results by the user_agent field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

func ByUserID

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

ByUserID orders the results by the user_id field.

Jump to

Keyboard shortcuts

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