authproviders

package
v0.3.9-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the authproviders type in the database.
	Label = "auth_providers"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldProviderType holds the string denoting the provider_type field in the database.
	FieldProviderType = "provider_type"
	// FieldClientID holds the string denoting the client_id field in the database.
	FieldClientID = "client_id"
	// FieldEnabled holds the string denoting the enabled field in the database.
	FieldEnabled = "enabled"
	// FieldClientSecretEncrypted holds the string denoting the client_secret_encrypted field in the database.
	FieldClientSecretEncrypted = "client_secret_encrypted"
	// FieldScopes holds the string denoting the scopes field in the database.
	FieldScopes = "scopes"
	// FieldRedirectURI holds the string denoting the redirect_uri field in the database.
	FieldRedirectURI = "redirect_uri"
	// FieldIssuer holds the string denoting the issuer field in the database.
	FieldIssuer = "issuer"
	// FieldAuthorizationEndpoint holds the string denoting the authorization_endpoint field in the database.
	FieldAuthorizationEndpoint = "authorization_endpoint"
	// FieldTokenEndpoint holds the string denoting the token_endpoint field in the database.
	FieldTokenEndpoint = "token_endpoint"
	// FieldUserinfoEndpoint holds the string denoting the userinfo_endpoint field in the database.
	FieldUserinfoEndpoint = "userinfo_endpoint"
	// EdgeLionUserIdentities holds the string denoting the lion_user_identities edge name in mutations.
	EdgeLionUserIdentities = "lion_user_identities"
	// Table holds the table name of the authproviders in the database.
	Table = "lion_auth_providers"
	// LionUserIdentitiesTable is the table that holds the lion_user_identities relation/edge.
	LionUserIdentitiesTable = "lion_user_identities"
	// LionUserIdentitiesInverseTable is the table name for the UserIdentities entity.
	// It exists in this package in order to avoid circular dependency with the "useridentities" package.
	LionUserIdentitiesInverseTable = "lion_user_identities"
	// LionUserIdentitiesColumn is the table column denoting the lion_user_identities relation/edge.
	LionUserIdentitiesColumn = "provider_id"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultCreatedBy holds the default value on creation for the "created_by" field.
	DefaultCreatedBy int64
	// DefaultUpdatedBy holds the default value on creation for the "updated_by" field.
	DefaultUpdatedBy int64
	// DefaultClientID holds the default value on creation for the "client_id" field.
	DefaultClientID string
	// DefaultEnabled holds the default value on creation for the "enabled" field.
	DefaultEnabled bool
	// DefaultClientSecretEncrypted holds the default value on creation for the "client_secret_encrypted" field.
	DefaultClientSecretEncrypted []byte
	// DefaultScopes holds the default value on creation for the "scopes" field.
	DefaultScopes string
	// DefaultRedirectURI holds the default value on creation for the "redirect_uri" field.
	DefaultRedirectURI string
	// DefaultIssuer holds the default value on creation for the "issuer" field.
	DefaultIssuer string
	// DefaultAuthorizationEndpoint holds the default value on creation for the "authorization_endpoint" field.
	DefaultAuthorizationEndpoint string
	// DefaultTokenEndpoint holds the default value on creation for the "token_endpoint" field.
	DefaultTokenEndpoint string
	// DefaultUserinfoEndpoint holds the default value on creation for the "userinfo_endpoint" field.
	DefaultUserinfoEndpoint string
)

Columns holds all SQL columns for authproviders fields.

Functions

func And

And groups predicates with the AND operator between them.

func AuthorizationEndpoint

func AuthorizationEndpoint(v string) predicate.AuthProviders

AuthorizationEndpoint applies equality check predicate on the "authorization_endpoint" field. It's identical to AuthorizationEndpointEQ.

func AuthorizationEndpointContains

func AuthorizationEndpointContains(v string) predicate.AuthProviders

AuthorizationEndpointContains applies the Contains predicate on the "authorization_endpoint" field.

func AuthorizationEndpointContainsFold

func AuthorizationEndpointContainsFold(v string) predicate.AuthProviders

AuthorizationEndpointContainsFold applies the ContainsFold predicate on the "authorization_endpoint" field.

func AuthorizationEndpointEQ

func AuthorizationEndpointEQ(v string) predicate.AuthProviders

AuthorizationEndpointEQ applies the EQ predicate on the "authorization_endpoint" field.

func AuthorizationEndpointEqualFold

func AuthorizationEndpointEqualFold(v string) predicate.AuthProviders

AuthorizationEndpointEqualFold applies the EqualFold predicate on the "authorization_endpoint" field.

func AuthorizationEndpointGT

func AuthorizationEndpointGT(v string) predicate.AuthProviders

AuthorizationEndpointGT applies the GT predicate on the "authorization_endpoint" field.

func AuthorizationEndpointGTE

func AuthorizationEndpointGTE(v string) predicate.AuthProviders

AuthorizationEndpointGTE applies the GTE predicate on the "authorization_endpoint" field.

func AuthorizationEndpointHasPrefix

func AuthorizationEndpointHasPrefix(v string) predicate.AuthProviders

AuthorizationEndpointHasPrefix applies the HasPrefix predicate on the "authorization_endpoint" field.

func AuthorizationEndpointHasSuffix

func AuthorizationEndpointHasSuffix(v string) predicate.AuthProviders

AuthorizationEndpointHasSuffix applies the HasSuffix predicate on the "authorization_endpoint" field.

func AuthorizationEndpointIn

func AuthorizationEndpointIn(vs ...string) predicate.AuthProviders

AuthorizationEndpointIn applies the In predicate on the "authorization_endpoint" field.

func AuthorizationEndpointLT

func AuthorizationEndpointLT(v string) predicate.AuthProviders

AuthorizationEndpointLT applies the LT predicate on the "authorization_endpoint" field.

func AuthorizationEndpointLTE

func AuthorizationEndpointLTE(v string) predicate.AuthProviders

AuthorizationEndpointLTE applies the LTE predicate on the "authorization_endpoint" field.

func AuthorizationEndpointNEQ

func AuthorizationEndpointNEQ(v string) predicate.AuthProviders

AuthorizationEndpointNEQ applies the NEQ predicate on the "authorization_endpoint" field.

func AuthorizationEndpointNotIn

func AuthorizationEndpointNotIn(vs ...string) predicate.AuthProviders

AuthorizationEndpointNotIn applies the NotIn predicate on the "authorization_endpoint" field.

func ClientID

func ClientID(v string) predicate.AuthProviders

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

func ClientIDContains

func ClientIDContains(v string) predicate.AuthProviders

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

func ClientIDContainsFold

func ClientIDContainsFold(v string) predicate.AuthProviders

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

func ClientIDEQ

func ClientIDEQ(v string) predicate.AuthProviders

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

func ClientIDEqualFold

func ClientIDEqualFold(v string) predicate.AuthProviders

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

func ClientIDGT

func ClientIDGT(v string) predicate.AuthProviders

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

func ClientIDGTE

func ClientIDGTE(v string) predicate.AuthProviders

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

func ClientIDHasPrefix

func ClientIDHasPrefix(v string) predicate.AuthProviders

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

func ClientIDHasSuffix

func ClientIDHasSuffix(v string) predicate.AuthProviders

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

func ClientIDIn

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

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

func ClientIDLT

func ClientIDLT(v string) predicate.AuthProviders

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

func ClientIDLTE

func ClientIDLTE(v string) predicate.AuthProviders

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

func ClientIDNEQ

func ClientIDNEQ(v string) predicate.AuthProviders

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

func ClientIDNotIn

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

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

func ClientSecretEncrypted

func ClientSecretEncrypted(v []byte) predicate.AuthProviders

ClientSecretEncrypted applies equality check predicate on the "client_secret_encrypted" field. It's identical to ClientSecretEncryptedEQ.

func ClientSecretEncryptedEQ

func ClientSecretEncryptedEQ(v []byte) predicate.AuthProviders

ClientSecretEncryptedEQ applies the EQ predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedGT

func ClientSecretEncryptedGT(v []byte) predicate.AuthProviders

ClientSecretEncryptedGT applies the GT predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedGTE

func ClientSecretEncryptedGTE(v []byte) predicate.AuthProviders

ClientSecretEncryptedGTE applies the GTE predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedIn

func ClientSecretEncryptedIn(vs ...[]byte) predicate.AuthProviders

ClientSecretEncryptedIn applies the In predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedLT

func ClientSecretEncryptedLT(v []byte) predicate.AuthProviders

ClientSecretEncryptedLT applies the LT predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedLTE

func ClientSecretEncryptedLTE(v []byte) predicate.AuthProviders

ClientSecretEncryptedLTE applies the LTE predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedNEQ

func ClientSecretEncryptedNEQ(v []byte) predicate.AuthProviders

ClientSecretEncryptedNEQ applies the NEQ predicate on the "client_secret_encrypted" field.

func ClientSecretEncryptedNotIn

func ClientSecretEncryptedNotIn(vs ...[]byte) predicate.AuthProviders

ClientSecretEncryptedNotIn applies the NotIn predicate on the "client_secret_encrypted" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AuthProviders

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AuthProviders

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AuthProviders

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AuthProviders

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AuthProviders

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AuthProviders

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AuthProviders

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int64) predicate.AuthProviders

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByEQ

func CreatedByEQ(v int64) predicate.AuthProviders

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v int64) predicate.AuthProviders

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v int64) predicate.AuthProviders

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...int64) predicate.AuthProviders

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.AuthProviders

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v int64) predicate.AuthProviders

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v int64) predicate.AuthProviders

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v int64) predicate.AuthProviders

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...int64) predicate.AuthProviders

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.AuthProviders

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func Enabled

func Enabled(v bool) predicate.AuthProviders

Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.

func EnabledEQ

func EnabledEQ(v bool) predicate.AuthProviders

EnabledEQ applies the EQ predicate on the "enabled" field.

func EnabledNEQ

func EnabledNEQ(v bool) predicate.AuthProviders

EnabledNEQ applies the NEQ predicate on the "enabled" field.

func HasLionUserIdentities

func HasLionUserIdentities() predicate.AuthProviders

HasLionUserIdentities applies the HasEdge predicate on the "lion_user_identities" edge.

func HasLionUserIdentitiesWith

func HasLionUserIdentitiesWith(preds ...predicate.UserIdentities) predicate.AuthProviders

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AuthProviders

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AuthProviders

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AuthProviders

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.AuthProviders

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AuthProviders

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AuthProviders

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AuthProviders

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.AuthProviders

IDNotIn applies the NotIn predicate on the ID field.

func Issuer

func Issuer(v string) predicate.AuthProviders

Issuer applies equality check predicate on the "issuer" field. It's identical to IssuerEQ.

func IssuerContains

func IssuerContains(v string) predicate.AuthProviders

IssuerContains applies the Contains predicate on the "issuer" field.

func IssuerContainsFold

func IssuerContainsFold(v string) predicate.AuthProviders

IssuerContainsFold applies the ContainsFold predicate on the "issuer" field.

func IssuerEQ

func IssuerEQ(v string) predicate.AuthProviders

IssuerEQ applies the EQ predicate on the "issuer" field.

func IssuerEqualFold

func IssuerEqualFold(v string) predicate.AuthProviders

IssuerEqualFold applies the EqualFold predicate on the "issuer" field.

func IssuerGT

func IssuerGT(v string) predicate.AuthProviders

IssuerGT applies the GT predicate on the "issuer" field.

func IssuerGTE

func IssuerGTE(v string) predicate.AuthProviders

IssuerGTE applies the GTE predicate on the "issuer" field.

func IssuerHasPrefix

func IssuerHasPrefix(v string) predicate.AuthProviders

IssuerHasPrefix applies the HasPrefix predicate on the "issuer" field.

func IssuerHasSuffix

func IssuerHasSuffix(v string) predicate.AuthProviders

IssuerHasSuffix applies the HasSuffix predicate on the "issuer" field.

func IssuerIn

func IssuerIn(vs ...string) predicate.AuthProviders

IssuerIn applies the In predicate on the "issuer" field.

func IssuerLT

func IssuerLT(v string) predicate.AuthProviders

IssuerLT applies the LT predicate on the "issuer" field.

func IssuerLTE

func IssuerLTE(v string) predicate.AuthProviders

IssuerLTE applies the LTE predicate on the "issuer" field.

func IssuerNEQ

func IssuerNEQ(v string) predicate.AuthProviders

IssuerNEQ applies the NEQ predicate on the "issuer" field.

func IssuerNotIn

func IssuerNotIn(vs ...string) predicate.AuthProviders

IssuerNotIn applies the NotIn predicate on the "issuer" field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.AuthProviders

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.AuthProviders

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.AuthProviders

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.AuthProviders

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.AuthProviders

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.AuthProviders

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.AuthProviders

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.AuthProviders

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.AuthProviders

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.AuthProviders

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.AuthProviders

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.AuthProviders

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.AuthProviders

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ProviderType

func ProviderType(v int) predicate.AuthProviders

ProviderType applies equality check predicate on the "provider_type" field. It's identical to ProviderTypeEQ.

func ProviderTypeEQ

func ProviderTypeEQ(v int) predicate.AuthProviders

ProviderTypeEQ applies the EQ predicate on the "provider_type" field.

func ProviderTypeGT

func ProviderTypeGT(v int) predicate.AuthProviders

ProviderTypeGT applies the GT predicate on the "provider_type" field.

func ProviderTypeGTE

func ProviderTypeGTE(v int) predicate.AuthProviders

ProviderTypeGTE applies the GTE predicate on the "provider_type" field.

func ProviderTypeIn

func ProviderTypeIn(vs ...int) predicate.AuthProviders

ProviderTypeIn applies the In predicate on the "provider_type" field.

func ProviderTypeLT

func ProviderTypeLT(v int) predicate.AuthProviders

ProviderTypeLT applies the LT predicate on the "provider_type" field.

func ProviderTypeLTE

func ProviderTypeLTE(v int) predicate.AuthProviders

ProviderTypeLTE applies the LTE predicate on the "provider_type" field.

func ProviderTypeNEQ

func ProviderTypeNEQ(v int) predicate.AuthProviders

ProviderTypeNEQ applies the NEQ predicate on the "provider_type" field.

func ProviderTypeNotIn

func ProviderTypeNotIn(vs ...int) predicate.AuthProviders

ProviderTypeNotIn applies the NotIn predicate on the "provider_type" field.

func RedirectURI

func RedirectURI(v string) predicate.AuthProviders

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

func RedirectURIContains

func RedirectURIContains(v string) predicate.AuthProviders

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

func RedirectURIContainsFold

func RedirectURIContainsFold(v string) predicate.AuthProviders

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

func RedirectURIEQ

func RedirectURIEQ(v string) predicate.AuthProviders

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

func RedirectURIEqualFold

func RedirectURIEqualFold(v string) predicate.AuthProviders

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

func RedirectURIGT

func RedirectURIGT(v string) predicate.AuthProviders

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

func RedirectURIGTE

func RedirectURIGTE(v string) predicate.AuthProviders

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

func RedirectURIHasPrefix

func RedirectURIHasPrefix(v string) predicate.AuthProviders

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

func RedirectURIHasSuffix

func RedirectURIHasSuffix(v string) predicate.AuthProviders

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

func RedirectURIIn

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

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

func RedirectURILT

func RedirectURILT(v string) predicate.AuthProviders

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

func RedirectURILTE

func RedirectURILTE(v string) predicate.AuthProviders

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

func RedirectURINEQ

func RedirectURINEQ(v string) predicate.AuthProviders

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

func RedirectURINotIn

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

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

func Scopes

func Scopes(v string) predicate.AuthProviders

Scopes applies equality check predicate on the "scopes" field. It's identical to ScopesEQ.

func ScopesContains

func ScopesContains(v string) predicate.AuthProviders

ScopesContains applies the Contains predicate on the "scopes" field.

func ScopesContainsFold

func ScopesContainsFold(v string) predicate.AuthProviders

ScopesContainsFold applies the ContainsFold predicate on the "scopes" field.

func ScopesEQ

func ScopesEQ(v string) predicate.AuthProviders

ScopesEQ applies the EQ predicate on the "scopes" field.

func ScopesEqualFold

func ScopesEqualFold(v string) predicate.AuthProviders

ScopesEqualFold applies the EqualFold predicate on the "scopes" field.

func ScopesGT

func ScopesGT(v string) predicate.AuthProviders

ScopesGT applies the GT predicate on the "scopes" field.

func ScopesGTE

func ScopesGTE(v string) predicate.AuthProviders

ScopesGTE applies the GTE predicate on the "scopes" field.

func ScopesHasPrefix

func ScopesHasPrefix(v string) predicate.AuthProviders

ScopesHasPrefix applies the HasPrefix predicate on the "scopes" field.

func ScopesHasSuffix

func ScopesHasSuffix(v string) predicate.AuthProviders

ScopesHasSuffix applies the HasSuffix predicate on the "scopes" field.

func ScopesIn

func ScopesIn(vs ...string) predicate.AuthProviders

ScopesIn applies the In predicate on the "scopes" field.

func ScopesLT

func ScopesLT(v string) predicate.AuthProviders

ScopesLT applies the LT predicate on the "scopes" field.

func ScopesLTE

func ScopesLTE(v string) predicate.AuthProviders

ScopesLTE applies the LTE predicate on the "scopes" field.

func ScopesNEQ

func ScopesNEQ(v string) predicate.AuthProviders

ScopesNEQ applies the NEQ predicate on the "scopes" field.

func ScopesNotIn

func ScopesNotIn(vs ...string) predicate.AuthProviders

ScopesNotIn applies the NotIn predicate on the "scopes" field.

func TokenEndpoint

func TokenEndpoint(v string) predicate.AuthProviders

TokenEndpoint applies equality check predicate on the "token_endpoint" field. It's identical to TokenEndpointEQ.

func TokenEndpointContains

func TokenEndpointContains(v string) predicate.AuthProviders

TokenEndpointContains applies the Contains predicate on the "token_endpoint" field.

func TokenEndpointContainsFold

func TokenEndpointContainsFold(v string) predicate.AuthProviders

TokenEndpointContainsFold applies the ContainsFold predicate on the "token_endpoint" field.

func TokenEndpointEQ

func TokenEndpointEQ(v string) predicate.AuthProviders

TokenEndpointEQ applies the EQ predicate on the "token_endpoint" field.

func TokenEndpointEqualFold

func TokenEndpointEqualFold(v string) predicate.AuthProviders

TokenEndpointEqualFold applies the EqualFold predicate on the "token_endpoint" field.

func TokenEndpointGT

func TokenEndpointGT(v string) predicate.AuthProviders

TokenEndpointGT applies the GT predicate on the "token_endpoint" field.

func TokenEndpointGTE

func TokenEndpointGTE(v string) predicate.AuthProviders

TokenEndpointGTE applies the GTE predicate on the "token_endpoint" field.

func TokenEndpointHasPrefix

func TokenEndpointHasPrefix(v string) predicate.AuthProviders

TokenEndpointHasPrefix applies the HasPrefix predicate on the "token_endpoint" field.

func TokenEndpointHasSuffix

func TokenEndpointHasSuffix(v string) predicate.AuthProviders

TokenEndpointHasSuffix applies the HasSuffix predicate on the "token_endpoint" field.

func TokenEndpointIn

func TokenEndpointIn(vs ...string) predicate.AuthProviders

TokenEndpointIn applies the In predicate on the "token_endpoint" field.

func TokenEndpointLT

func TokenEndpointLT(v string) predicate.AuthProviders

TokenEndpointLT applies the LT predicate on the "token_endpoint" field.

func TokenEndpointLTE

func TokenEndpointLTE(v string) predicate.AuthProviders

TokenEndpointLTE applies the LTE predicate on the "token_endpoint" field.

func TokenEndpointNEQ

func TokenEndpointNEQ(v string) predicate.AuthProviders

TokenEndpointNEQ applies the NEQ predicate on the "token_endpoint" field.

func TokenEndpointNotIn

func TokenEndpointNotIn(vs ...string) predicate.AuthProviders

TokenEndpointNotIn applies the NotIn predicate on the "token_endpoint" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AuthProviders

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AuthProviders

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AuthProviders

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AuthProviders

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.AuthProviders

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AuthProviders

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AuthProviders

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AuthProviders

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.AuthProviders

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v int64) predicate.AuthProviders

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByEQ

func UpdatedByEQ(v int64) predicate.AuthProviders

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v int64) predicate.AuthProviders

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v int64) predicate.AuthProviders

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...int64) predicate.AuthProviders

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.AuthProviders

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v int64) predicate.AuthProviders

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v int64) predicate.AuthProviders

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v int64) predicate.AuthProviders

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int64) predicate.AuthProviders

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.AuthProviders

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func UserinfoEndpoint

func UserinfoEndpoint(v string) predicate.AuthProviders

UserinfoEndpoint applies equality check predicate on the "userinfo_endpoint" field. It's identical to UserinfoEndpointEQ.

func UserinfoEndpointContains

func UserinfoEndpointContains(v string) predicate.AuthProviders

UserinfoEndpointContains applies the Contains predicate on the "userinfo_endpoint" field.

func UserinfoEndpointContainsFold

func UserinfoEndpointContainsFold(v string) predicate.AuthProviders

UserinfoEndpointContainsFold applies the ContainsFold predicate on the "userinfo_endpoint" field.

func UserinfoEndpointEQ

func UserinfoEndpointEQ(v string) predicate.AuthProviders

UserinfoEndpointEQ applies the EQ predicate on the "userinfo_endpoint" field.

func UserinfoEndpointEqualFold

func UserinfoEndpointEqualFold(v string) predicate.AuthProviders

UserinfoEndpointEqualFold applies the EqualFold predicate on the "userinfo_endpoint" field.

func UserinfoEndpointGT

func UserinfoEndpointGT(v string) predicate.AuthProviders

UserinfoEndpointGT applies the GT predicate on the "userinfo_endpoint" field.

func UserinfoEndpointGTE

func UserinfoEndpointGTE(v string) predicate.AuthProviders

UserinfoEndpointGTE applies the GTE predicate on the "userinfo_endpoint" field.

func UserinfoEndpointHasPrefix

func UserinfoEndpointHasPrefix(v string) predicate.AuthProviders

UserinfoEndpointHasPrefix applies the HasPrefix predicate on the "userinfo_endpoint" field.

func UserinfoEndpointHasSuffix

func UserinfoEndpointHasSuffix(v string) predicate.AuthProviders

UserinfoEndpointHasSuffix applies the HasSuffix predicate on the "userinfo_endpoint" field.

func UserinfoEndpointIn

func UserinfoEndpointIn(vs ...string) predicate.AuthProviders

UserinfoEndpointIn applies the In predicate on the "userinfo_endpoint" field.

func UserinfoEndpointLT

func UserinfoEndpointLT(v string) predicate.AuthProviders

UserinfoEndpointLT applies the LT predicate on the "userinfo_endpoint" field.

func UserinfoEndpointLTE

func UserinfoEndpointLTE(v string) predicate.AuthProviders

UserinfoEndpointLTE applies the LTE predicate on the "userinfo_endpoint" field.

func UserinfoEndpointNEQ

func UserinfoEndpointNEQ(v string) predicate.AuthProviders

UserinfoEndpointNEQ applies the NEQ predicate on the "userinfo_endpoint" field.

func UserinfoEndpointNotIn

func UserinfoEndpointNotIn(vs ...string) predicate.AuthProviders

UserinfoEndpointNotIn applies the NotIn predicate on the "userinfo_endpoint" 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 AuthProviders queries.

func ByAuthorizationEndpoint

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

ByAuthorizationEndpoint orders the results by the authorization_endpoint field.

func ByClientID

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

ByClientID orders the results by the client_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByEnabled

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

ByEnabled orders the results by the enabled field.

func ByID

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

ByID orders the results by the id field.

func ByIssuer

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

ByIssuer orders the results by the issuer field.

func ByLionUserIdentities

func ByLionUserIdentities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLionUserIdentities orders the results by lion_user_identities terms.

func ByLionUserIdentitiesCount

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

ByLionUserIdentitiesCount orders the results by lion_user_identities count.

func ByName

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

ByName orders the results by the name field.

func ByProviderType

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

ByProviderType orders the results by the provider_type field.

func ByRedirectURI

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

ByRedirectURI orders the results by the redirect_uri field.

func ByScopes

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

ByScopes orders the results by the scopes field.

func ByTokenEndpoint

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

ByTokenEndpoint orders the results by the token_endpoint field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByUserinfoEndpoint

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

ByUserinfoEndpoint orders the results by the userinfo_endpoint field.

Jump to

Keyboard shortcuts

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