loginstate

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the loginstate type in the database.
	Label = "login_state"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStateHash holds the string denoting the state_hash field in the database.
	FieldStateHash = "state_hash"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldRedirectURL holds the string denoting the redirect_url field in the database.
	FieldRedirectURL = "redirect_url"
	// FieldNonce holds the string denoting the nonce field in the database.
	FieldNonce = "nonce"
	// FieldPkceVerifier holds the string denoting the pkce_verifier field in the database.
	FieldPkceVerifier = "pkce_verifier"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// Table holds the table name of the loginstate in the database.
	Table = "sf_login_states"
)

Variables

Columns holds all SQL columns for loginstate fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func And

func And(predicates ...predicate.LoginState) predicate.LoginState

And groups predicates with the AND operator between them.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.LoginState

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

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.LoginState

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

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.LoginState

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

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.LoginState

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

func ExpiresAtIn

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

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

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.LoginState

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

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.LoginState

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

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.LoginState

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

func ExpiresAtNotIn

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

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.LoginState

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.LoginState

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.LoginState

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.LoginState

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.LoginState

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.LoginState

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Nonce

func Nonce(v string) predicate.LoginState

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

func NonceContains

func NonceContains(v string) predicate.LoginState

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

func NonceContainsFold

func NonceContainsFold(v string) predicate.LoginState

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

func NonceEQ

func NonceEQ(v string) predicate.LoginState

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

func NonceEqualFold

func NonceEqualFold(v string) predicate.LoginState

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

func NonceGT

func NonceGT(v string) predicate.LoginState

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

func NonceGTE

func NonceGTE(v string) predicate.LoginState

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

func NonceHasPrefix

func NonceHasPrefix(v string) predicate.LoginState

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

func NonceHasSuffix

func NonceHasSuffix(v string) predicate.LoginState

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

func NonceIn

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

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

func NonceIsNil

func NonceIsNil() predicate.LoginState

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

func NonceLT

func NonceLT(v string) predicate.LoginState

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

func NonceLTE

func NonceLTE(v string) predicate.LoginState

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

func NonceNEQ

func NonceNEQ(v string) predicate.LoginState

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

func NonceNotIn

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

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

func NonceNotNil

func NonceNotNil() predicate.LoginState

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.LoginState) predicate.LoginState

Or groups predicates with the OR operator between them.

func PkceVerifier

func PkceVerifier(v string) predicate.LoginState

PkceVerifier applies equality check predicate on the "pkce_verifier" field. It's identical to PkceVerifierEQ.

func PkceVerifierContains

func PkceVerifierContains(v string) predicate.LoginState

PkceVerifierContains applies the Contains predicate on the "pkce_verifier" field.

func PkceVerifierContainsFold

func PkceVerifierContainsFold(v string) predicate.LoginState

PkceVerifierContainsFold applies the ContainsFold predicate on the "pkce_verifier" field.

func PkceVerifierEQ

func PkceVerifierEQ(v string) predicate.LoginState

PkceVerifierEQ applies the EQ predicate on the "pkce_verifier" field.

func PkceVerifierEqualFold

func PkceVerifierEqualFold(v string) predicate.LoginState

PkceVerifierEqualFold applies the EqualFold predicate on the "pkce_verifier" field.

func PkceVerifierGT

func PkceVerifierGT(v string) predicate.LoginState

PkceVerifierGT applies the GT predicate on the "pkce_verifier" field.

func PkceVerifierGTE

func PkceVerifierGTE(v string) predicate.LoginState

PkceVerifierGTE applies the GTE predicate on the "pkce_verifier" field.

func PkceVerifierHasPrefix

func PkceVerifierHasPrefix(v string) predicate.LoginState

PkceVerifierHasPrefix applies the HasPrefix predicate on the "pkce_verifier" field.

func PkceVerifierHasSuffix

func PkceVerifierHasSuffix(v string) predicate.LoginState

PkceVerifierHasSuffix applies the HasSuffix predicate on the "pkce_verifier" field.

func PkceVerifierIn

func PkceVerifierIn(vs ...string) predicate.LoginState

PkceVerifierIn applies the In predicate on the "pkce_verifier" field.

func PkceVerifierIsNil

func PkceVerifierIsNil() predicate.LoginState

PkceVerifierIsNil applies the IsNil predicate on the "pkce_verifier" field.

func PkceVerifierLT

func PkceVerifierLT(v string) predicate.LoginState

PkceVerifierLT applies the LT predicate on the "pkce_verifier" field.

func PkceVerifierLTE

func PkceVerifierLTE(v string) predicate.LoginState

PkceVerifierLTE applies the LTE predicate on the "pkce_verifier" field.

func PkceVerifierNEQ

func PkceVerifierNEQ(v string) predicate.LoginState

PkceVerifierNEQ applies the NEQ predicate on the "pkce_verifier" field.

func PkceVerifierNotIn

func PkceVerifierNotIn(vs ...string) predicate.LoginState

PkceVerifierNotIn applies the NotIn predicate on the "pkce_verifier" field.

func PkceVerifierNotNil

func PkceVerifierNotNil() predicate.LoginState

PkceVerifierNotNil applies the NotNil predicate on the "pkce_verifier" field.

func Provider

func Provider(v string) predicate.LoginState

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderContains

func ProviderContains(v string) predicate.LoginState

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.LoginState

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.LoginState

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.LoginState

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.LoginState

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.LoginState

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.LoginState

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.LoginState

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderIn

func ProviderIn(vs ...string) predicate.LoginState

ProviderIn applies the In predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.LoginState

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.LoginState

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.LoginState

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

func ProviderNotIn(vs ...string) predicate.LoginState

ProviderNotIn applies the NotIn predicate on the "provider" field.

func RedirectURL

func RedirectURL(v string) predicate.LoginState

RedirectURL applies equality check predicate on the "redirect_url" field. It's identical to RedirectURLEQ.

func RedirectURLContains

func RedirectURLContains(v string) predicate.LoginState

RedirectURLContains applies the Contains predicate on the "redirect_url" field.

func RedirectURLContainsFold

func RedirectURLContainsFold(v string) predicate.LoginState

RedirectURLContainsFold applies the ContainsFold predicate on the "redirect_url" field.

func RedirectURLEQ

func RedirectURLEQ(v string) predicate.LoginState

RedirectURLEQ applies the EQ predicate on the "redirect_url" field.

func RedirectURLEqualFold

func RedirectURLEqualFold(v string) predicate.LoginState

RedirectURLEqualFold applies the EqualFold predicate on the "redirect_url" field.

func RedirectURLGT

func RedirectURLGT(v string) predicate.LoginState

RedirectURLGT applies the GT predicate on the "redirect_url" field.

func RedirectURLGTE

func RedirectURLGTE(v string) predicate.LoginState

RedirectURLGTE applies the GTE predicate on the "redirect_url" field.

func RedirectURLHasPrefix

func RedirectURLHasPrefix(v string) predicate.LoginState

RedirectURLHasPrefix applies the HasPrefix predicate on the "redirect_url" field.

func RedirectURLHasSuffix

func RedirectURLHasSuffix(v string) predicate.LoginState

RedirectURLHasSuffix applies the HasSuffix predicate on the "redirect_url" field.

func RedirectURLIn

func RedirectURLIn(vs ...string) predicate.LoginState

RedirectURLIn applies the In predicate on the "redirect_url" field.

func RedirectURLIsNil

func RedirectURLIsNil() predicate.LoginState

RedirectURLIsNil applies the IsNil predicate on the "redirect_url" field.

func RedirectURLLT

func RedirectURLLT(v string) predicate.LoginState

RedirectURLLT applies the LT predicate on the "redirect_url" field.

func RedirectURLLTE

func RedirectURLLTE(v string) predicate.LoginState

RedirectURLLTE applies the LTE predicate on the "redirect_url" field.

func RedirectURLNEQ

func RedirectURLNEQ(v string) predicate.LoginState

RedirectURLNEQ applies the NEQ predicate on the "redirect_url" field.

func RedirectURLNotIn

func RedirectURLNotIn(vs ...string) predicate.LoginState

RedirectURLNotIn applies the NotIn predicate on the "redirect_url" field.

func RedirectURLNotNil

func RedirectURLNotNil() predicate.LoginState

RedirectURLNotNil applies the NotNil predicate on the "redirect_url" field.

func StateHash

func StateHash(v string) predicate.LoginState

StateHash applies equality check predicate on the "state_hash" field. It's identical to StateHashEQ.

func StateHashContains

func StateHashContains(v string) predicate.LoginState

StateHashContains applies the Contains predicate on the "state_hash" field.

func StateHashContainsFold

func StateHashContainsFold(v string) predicate.LoginState

StateHashContainsFold applies the ContainsFold predicate on the "state_hash" field.

func StateHashEQ

func StateHashEQ(v string) predicate.LoginState

StateHashEQ applies the EQ predicate on the "state_hash" field.

func StateHashEqualFold

func StateHashEqualFold(v string) predicate.LoginState

StateHashEqualFold applies the EqualFold predicate on the "state_hash" field.

func StateHashGT

func StateHashGT(v string) predicate.LoginState

StateHashGT applies the GT predicate on the "state_hash" field.

func StateHashGTE

func StateHashGTE(v string) predicate.LoginState

StateHashGTE applies the GTE predicate on the "state_hash" field.

func StateHashHasPrefix

func StateHashHasPrefix(v string) predicate.LoginState

StateHashHasPrefix applies the HasPrefix predicate on the "state_hash" field.

func StateHashHasSuffix

func StateHashHasSuffix(v string) predicate.LoginState

StateHashHasSuffix applies the HasSuffix predicate on the "state_hash" field.

func StateHashIn

func StateHashIn(vs ...string) predicate.LoginState

StateHashIn applies the In predicate on the "state_hash" field.

func StateHashLT

func StateHashLT(v string) predicate.LoginState

StateHashLT applies the LT predicate on the "state_hash" field.

func StateHashLTE

func StateHashLTE(v string) predicate.LoginState

StateHashLTE applies the LTE predicate on the "state_hash" field.

func StateHashNEQ

func StateHashNEQ(v string) predicate.LoginState

StateHashNEQ applies the NEQ predicate on the "state_hash" field.

func StateHashNotIn

func StateHashNotIn(vs ...string) predicate.LoginState

StateHashNotIn applies the NotIn predicate on the "state_hash" 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 LoginState queries.

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 ByPkceVerifier

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

ByPkceVerifier orders the results by the pkce_verifier field.

func ByProvider

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

ByProvider orders the results by the provider field.

func ByRedirectURL

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

ByRedirectURL orders the results by the redirect_url field.

func ByStateHash

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

ByStateHash orders the results by the state_hash field.

Jump to

Keyboard shortcuts

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