Documentation
¶
Index ¶
- Constants
- Variables
- func AccessTokenTTL(v int) predicate.OAuthApp
- func AccessTokenTTLEQ(v int) predicate.OAuthApp
- func AccessTokenTTLGT(v int) predicate.OAuthApp
- func AccessTokenTTLGTE(v int) predicate.OAuthApp
- func AccessTokenTTLIn(vs ...int) predicate.OAuthApp
- func AccessTokenTTLLT(v int) predicate.OAuthApp
- func AccessTokenTTLLTE(v int) predicate.OAuthApp
- func AccessTokenTTLNEQ(v int) predicate.OAuthApp
- func AccessTokenTTLNotIn(vs ...int) predicate.OAuthApp
- func Active(v bool) predicate.OAuthApp
- func ActiveEQ(v bool) predicate.OAuthApp
- func ActiveNEQ(v bool) predicate.OAuthApp
- func And(predicates ...predicate.OAuthApp) predicate.OAuthApp
- func AppTypeEQ(v AppType) predicate.OAuthApp
- func AppTypeIn(vs ...AppType) predicate.OAuthApp
- func AppTypeNEQ(v AppType) predicate.OAuthApp
- func AppTypeNotIn(vs ...AppType) predicate.OAuthApp
- func AppTypeValidator(at AppType) error
- func ClientID(v string) predicate.OAuthApp
- func ClientIDContains(v string) predicate.OAuthApp
- func ClientIDContainsFold(v string) predicate.OAuthApp
- func ClientIDEQ(v string) predicate.OAuthApp
- func ClientIDEqualFold(v string) predicate.OAuthApp
- func ClientIDGT(v string) predicate.OAuthApp
- func ClientIDGTE(v string) predicate.OAuthApp
- func ClientIDHasPrefix(v string) predicate.OAuthApp
- func ClientIDHasSuffix(v string) predicate.OAuthApp
- func ClientIDIn(vs ...string) predicate.OAuthApp
- func ClientIDLT(v string) predicate.OAuthApp
- func ClientIDLTE(v string) predicate.OAuthApp
- func ClientIDNEQ(v string) predicate.OAuthApp
- func ClientIDNotIn(vs ...string) predicate.OAuthApp
- func CreatedAt(v time.Time) predicate.OAuthApp
- func CreatedAtEQ(v time.Time) predicate.OAuthApp
- func CreatedAtGT(v time.Time) predicate.OAuthApp
- func CreatedAtGTE(v time.Time) predicate.OAuthApp
- func CreatedAtIn(vs ...time.Time) predicate.OAuthApp
- func CreatedAtLT(v time.Time) predicate.OAuthApp
- func CreatedAtLTE(v time.Time) predicate.OAuthApp
- func CreatedAtNEQ(v time.Time) predicate.OAuthApp
- func CreatedAtNotIn(vs ...time.Time) predicate.OAuthApp
- func Description(v string) predicate.OAuthApp
- func DescriptionContains(v string) predicate.OAuthApp
- func DescriptionContainsFold(v string) predicate.OAuthApp
- func DescriptionEQ(v string) predicate.OAuthApp
- func DescriptionEqualFold(v string) predicate.OAuthApp
- func DescriptionGT(v string) predicate.OAuthApp
- func DescriptionGTE(v string) predicate.OAuthApp
- func DescriptionHasPrefix(v string) predicate.OAuthApp
- func DescriptionHasSuffix(v string) predicate.OAuthApp
- func DescriptionIn(vs ...string) predicate.OAuthApp
- func DescriptionIsNil() predicate.OAuthApp
- func DescriptionLT(v string) predicate.OAuthApp
- func DescriptionLTE(v string) predicate.OAuthApp
- func DescriptionNEQ(v string) predicate.OAuthApp
- func DescriptionNotIn(vs ...string) predicate.OAuthApp
- func DescriptionNotNil() predicate.OAuthApp
- func FirstParty(v bool) predicate.OAuthApp
- func FirstPartyEQ(v bool) predicate.OAuthApp
- func FirstPartyNEQ(v bool) predicate.OAuthApp
- func HasAuthCodes() predicate.OAuthApp
- func HasAuthCodesWith(preds ...predicate.OAuthAuthCode) predicate.OAuthApp
- func HasConsents() predicate.OAuthApp
- func HasConsentsWith(preds ...predicate.OAuthConsent) predicate.OAuthApp
- func HasOrganization() predicate.OAuthApp
- func HasOrganizationWith(preds ...predicate.Organization) predicate.OAuthApp
- func HasOwner() predicate.OAuthApp
- func HasOwnerWith(preds ...predicate.User) predicate.OAuthApp
- func HasSecrets() predicate.OAuthApp
- func HasSecretsWith(preds ...predicate.OAuthAppSecret) predicate.OAuthApp
- func HasTokens() predicate.OAuthApp
- func HasTokensWith(preds ...predicate.OAuthToken) predicate.OAuthApp
- func ID(id uuid.UUID) predicate.OAuthApp
- func IDEQ(id uuid.UUID) predicate.OAuthApp
- func IDGT(id uuid.UUID) predicate.OAuthApp
- func IDGTE(id uuid.UUID) predicate.OAuthApp
- func IDIn(ids ...uuid.UUID) predicate.OAuthApp
- func IDLT(id uuid.UUID) predicate.OAuthApp
- func IDLTE(id uuid.UUID) predicate.OAuthApp
- func IDNEQ(id uuid.UUID) predicate.OAuthApp
- func IDNotIn(ids ...uuid.UUID) predicate.OAuthApp
- func LogoURL(v string) predicate.OAuthApp
- func LogoURLContains(v string) predicate.OAuthApp
- func LogoURLContainsFold(v string) predicate.OAuthApp
- func LogoURLEQ(v string) predicate.OAuthApp
- func LogoURLEqualFold(v string) predicate.OAuthApp
- func LogoURLGT(v string) predicate.OAuthApp
- func LogoURLGTE(v string) predicate.OAuthApp
- func LogoURLHasPrefix(v string) predicate.OAuthApp
- func LogoURLHasSuffix(v string) predicate.OAuthApp
- func LogoURLIn(vs ...string) predicate.OAuthApp
- func LogoURLIsNil() predicate.OAuthApp
- func LogoURLLT(v string) predicate.OAuthApp
- func LogoURLLTE(v string) predicate.OAuthApp
- func LogoURLNEQ(v string) predicate.OAuthApp
- func LogoURLNotIn(vs ...string) predicate.OAuthApp
- func LogoURLNotNil() predicate.OAuthApp
- func MetadataIsNil() predicate.OAuthApp
- func MetadataNotNil() predicate.OAuthApp
- func Name(v string) predicate.OAuthApp
- func NameContains(v string) predicate.OAuthApp
- func NameContainsFold(v string) predicate.OAuthApp
- func NameEQ(v string) predicate.OAuthApp
- func NameEqualFold(v string) predicate.OAuthApp
- func NameGT(v string) predicate.OAuthApp
- func NameGTE(v string) predicate.OAuthApp
- func NameHasPrefix(v string) predicate.OAuthApp
- func NameHasSuffix(v string) predicate.OAuthApp
- func NameIn(vs ...string) predicate.OAuthApp
- func NameLT(v string) predicate.OAuthApp
- func NameLTE(v string) predicate.OAuthApp
- func NameNEQ(v string) predicate.OAuthApp
- func NameNotIn(vs ...string) predicate.OAuthApp
- func Not(p predicate.OAuthApp) predicate.OAuthApp
- func Or(predicates ...predicate.OAuthApp) predicate.OAuthApp
- func OrganizationID(v uuid.UUID) predicate.OAuthApp
- func OrganizationIDEQ(v uuid.UUID) predicate.OAuthApp
- func OrganizationIDIn(vs ...uuid.UUID) predicate.OAuthApp
- func OrganizationIDIsNil() predicate.OAuthApp
- func OrganizationIDNEQ(v uuid.UUID) predicate.OAuthApp
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.OAuthApp
- func OrganizationIDNotNil() predicate.OAuthApp
- func OwnerID(v uuid.UUID) predicate.OAuthApp
- func OwnerIDEQ(v uuid.UUID) predicate.OAuthApp
- func OwnerIDIn(vs ...uuid.UUID) predicate.OAuthApp
- func OwnerIDNEQ(v uuid.UUID) predicate.OAuthApp
- func OwnerIDNotIn(vs ...uuid.UUID) predicate.OAuthApp
- func Public(v bool) predicate.OAuthApp
- func PublicEQ(v bool) predicate.OAuthApp
- func PublicNEQ(v bool) predicate.OAuthApp
- func RefreshTokenRotation(v bool) predicate.OAuthApp
- func RefreshTokenRotationEQ(v bool) predicate.OAuthApp
- func RefreshTokenRotationNEQ(v bool) predicate.OAuthApp
- func RefreshTokenTTL(v int) predicate.OAuthApp
- func RefreshTokenTTLEQ(v int) predicate.OAuthApp
- func RefreshTokenTTLGT(v int) predicate.OAuthApp
- func RefreshTokenTTLGTE(v int) predicate.OAuthApp
- func RefreshTokenTTLIn(vs ...int) predicate.OAuthApp
- func RefreshTokenTTLLT(v int) predicate.OAuthApp
- func RefreshTokenTTLLTE(v int) predicate.OAuthApp
- func RefreshTokenTTLNEQ(v int) predicate.OAuthApp
- func RefreshTokenTTLNotIn(vs ...int) predicate.OAuthApp
- func RevokedAt(v time.Time) predicate.OAuthApp
- func RevokedAtEQ(v time.Time) predicate.OAuthApp
- func RevokedAtGT(v time.Time) predicate.OAuthApp
- func RevokedAtGTE(v time.Time) predicate.OAuthApp
- func RevokedAtIn(vs ...time.Time) predicate.OAuthApp
- func RevokedAtIsNil() predicate.OAuthApp
- func RevokedAtLT(v time.Time) predicate.OAuthApp
- func RevokedAtLTE(v time.Time) predicate.OAuthApp
- func RevokedAtNEQ(v time.Time) predicate.OAuthApp
- func RevokedAtNotIn(vs ...time.Time) predicate.OAuthApp
- func RevokedAtNotNil() predicate.OAuthApp
- func UpdatedAt(v time.Time) predicate.OAuthApp
- func UpdatedAtEQ(v time.Time) predicate.OAuthApp
- func UpdatedAtGT(v time.Time) predicate.OAuthApp
- func UpdatedAtGTE(v time.Time) predicate.OAuthApp
- func UpdatedAtIn(vs ...time.Time) predicate.OAuthApp
- func UpdatedAtLT(v time.Time) predicate.OAuthApp
- func UpdatedAtLTE(v time.Time) predicate.OAuthApp
- func UpdatedAtNEQ(v time.Time) predicate.OAuthApp
- func UpdatedAtNotIn(vs ...time.Time) predicate.OAuthApp
- func ValidColumn(column string) bool
- type AppType
- type OrderOption
- func ByAccessTokenTTL(opts ...sql.OrderTermOption) OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByAppType(opts ...sql.OrderTermOption) OrderOption
- func ByAuthCodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAuthCodesCount(opts ...sql.OrderTermOption) OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByConsents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByConsentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFirstParty(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPublic(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshTokenRotation(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshTokenTTL(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauthapp type in the database. Label = "oauth_app" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLogoURL holds the string denoting the logo_url field in the database. FieldLogoURL = "logo_url" // FieldAppType holds the string denoting the app_type field in the database. FieldAppType = "app_type" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldRedirectUris holds the string denoting the redirect_uris field in the database. FieldRedirectUris = "redirect_uris" // FieldAllowedScopes holds the string denoting the allowed_scopes field in the database. FieldAllowedScopes = "allowed_scopes" // FieldAllowedGrants holds the string denoting the allowed_grants field in the database. FieldAllowedGrants = "allowed_grants" // FieldAllowedResponseTypes holds the string denoting the allowed_response_types field in the database. FieldAllowedResponseTypes = "allowed_response_types" // FieldAccessTokenTTL holds the string denoting the access_token_ttl field in the database. FieldAccessTokenTTL = "access_token_ttl" // FieldRefreshTokenTTL holds the string denoting the refresh_token_ttl field in the database. FieldRefreshTokenTTL = "refresh_token_ttl" // FieldRefreshTokenRotation holds the string denoting the refresh_token_rotation field in the database. FieldRefreshTokenRotation = "refresh_token_rotation" // FieldFirstParty holds the string denoting the first_party field in the database. FieldFirstParty = "first_party" // FieldPublic holds the string denoting the public field in the database. FieldPublic = "public" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // 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" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeSecrets holds the string denoting the secrets edge name in mutations. EdgeSecrets = "secrets" // EdgeTokens holds the string denoting the tokens edge name in mutations. EdgeTokens = "tokens" // EdgeAuthCodes holds the string denoting the auth_codes edge name in mutations. EdgeAuthCodes = "auth_codes" // EdgeConsents holds the string denoting the consents edge name in mutations. EdgeConsents = "consents" // Table holds the table name of the oauthapp in the database. Table = "cf_oauth_apps" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "cf_oauth_apps" // OwnerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OwnerInverseTable = "cf_users" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "cf_oauth_apps" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "cf_organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // SecretsTable is the table that holds the secrets relation/edge. SecretsTable = "cf_oauth_app_secrets" // SecretsInverseTable is the table name for the OAuthAppSecret entity. // It exists in this package in order to avoid circular dependency with the "oauthappsecret" package. SecretsInverseTable = "cf_oauth_app_secrets" // SecretsColumn is the table column denoting the secrets relation/edge. SecretsColumn = "app_id" // TokensTable is the table that holds the tokens relation/edge. TokensTable = "cf_oauth_tokens" // TokensInverseTable is the table name for the OAuthToken entity. // It exists in this package in order to avoid circular dependency with the "oauthtoken" package. TokensInverseTable = "cf_oauth_tokens" // TokensColumn is the table column denoting the tokens relation/edge. TokensColumn = "app_id" // AuthCodesTable is the table that holds the auth_codes relation/edge. AuthCodesTable = "cf_oauth_auth_codes" // AuthCodesInverseTable is the table name for the OAuthAuthCode entity. // It exists in this package in order to avoid circular dependency with the "oauthauthcode" package. AuthCodesInverseTable = "cf_oauth_auth_codes" // AuthCodesColumn is the table column denoting the auth_codes relation/edge. AuthCodesColumn = "app_id" // ConsentsTable is the table that holds the consents relation/edge. ConsentsTable = "cf_oauth_consents" // ConsentsInverseTable is the table name for the OAuthConsent entity. // It exists in this package in order to avoid circular dependency with the "oauthconsent" package. ConsentsInverseTable = "cf_oauth_consents" // ConsentsColumn is the table column denoting the consents relation/edge. ConsentsColumn = "app_id" )
const DefaultAppType = AppTypeWeb
AppTypeWeb is the default value of the AppType enum.
Variables ¶
var ( // ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save. ClientIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultRedirectUris holds the default value on creation for the "redirect_uris" field. DefaultRedirectUris []string // DefaultAllowedScopes holds the default value on creation for the "allowed_scopes" field. DefaultAllowedScopes []string // DefaultAllowedGrants holds the default value on creation for the "allowed_grants" field. DefaultAllowedGrants []string // DefaultAllowedResponseTypes holds the default value on creation for the "allowed_response_types" field. DefaultAllowedResponseTypes []string // DefaultAccessTokenTTL holds the default value on creation for the "access_token_ttl" field. DefaultAccessTokenTTL int // DefaultRefreshTokenTTL holds the default value on creation for the "refresh_token_ttl" field. DefaultRefreshTokenTTL int // DefaultRefreshTokenRotation holds the default value on creation for the "refresh_token_rotation" field. DefaultRefreshTokenRotation bool // DefaultFirstParty holds the default value on creation for the "first_party" field. DefaultFirstParty bool // DefaultPublic holds the default value on creation for the "public" field. DefaultPublic bool // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldClientID, FieldName, FieldDescription, FieldLogoURL, FieldAppType, FieldOwnerID, FieldOrganizationID, FieldRedirectUris, FieldAllowedScopes, FieldAllowedGrants, FieldAllowedResponseTypes, FieldAccessTokenTTL, FieldRefreshTokenTTL, FieldRefreshTokenRotation, FieldFirstParty, FieldPublic, FieldActive, FieldRevokedAt, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for oauthapp fields.
Functions ¶
func AccessTokenTTL ¶
AccessTokenTTL applies equality check predicate on the "access_token_ttl" field. It's identical to AccessTokenTTLEQ.
func AccessTokenTTLEQ ¶
AccessTokenTTLEQ applies the EQ predicate on the "access_token_ttl" field.
func AccessTokenTTLGT ¶
AccessTokenTTLGT applies the GT predicate on the "access_token_ttl" field.
func AccessTokenTTLGTE ¶
AccessTokenTTLGTE applies the GTE predicate on the "access_token_ttl" field.
func AccessTokenTTLIn ¶
AccessTokenTTLIn applies the In predicate on the "access_token_ttl" field.
func AccessTokenTTLLT ¶
AccessTokenTTLLT applies the LT predicate on the "access_token_ttl" field.
func AccessTokenTTLLTE ¶
AccessTokenTTLLTE applies the LTE predicate on the "access_token_ttl" field.
func AccessTokenTTLNEQ ¶
AccessTokenTTLNEQ applies the NEQ predicate on the "access_token_ttl" field.
func AccessTokenTTLNotIn ¶
AccessTokenTTLNotIn applies the NotIn predicate on the "access_token_ttl" field.
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func AppTypeNEQ ¶
AppTypeNEQ applies the NEQ predicate on the "app_type" field.
func AppTypeNotIn ¶
AppTypeNotIn applies the NotIn predicate on the "app_type" field.
func AppTypeValidator ¶
AppTypeValidator is a validator for the "app_type" field enum values. It is called by the builders before save.
func ClientID ¶
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func FirstParty ¶
FirstParty applies equality check predicate on the "first_party" field. It's identical to FirstPartyEQ.
func FirstPartyEQ ¶
FirstPartyEQ applies the EQ predicate on the "first_party" field.
func FirstPartyNEQ ¶
FirstPartyNEQ applies the NEQ predicate on the "first_party" field.
func HasAuthCodes ¶
HasAuthCodes applies the HasEdge predicate on the "auth_codes" edge.
func HasAuthCodesWith ¶
func HasAuthCodesWith(preds ...predicate.OAuthAuthCode) predicate.OAuthApp
HasAuthCodesWith applies the HasEdge predicate on the "auth_codes" edge with a given conditions (other predicates).
func HasConsents ¶
HasConsents applies the HasEdge predicate on the "consents" edge.
func HasConsentsWith ¶
func HasConsentsWith(preds ...predicate.OAuthConsent) predicate.OAuthApp
HasConsentsWith applies the HasEdge predicate on the "consents" edge with a given conditions (other predicates).
func HasOrganization ¶
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.OAuthApp
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasSecrets ¶
HasSecrets applies the HasEdge predicate on the "secrets" edge.
func HasSecretsWith ¶
func HasSecretsWith(preds ...predicate.OAuthAppSecret) predicate.OAuthApp
HasSecretsWith applies the HasEdge predicate on the "secrets" edge with a given conditions (other predicates).
func HasTokensWith ¶
func HasTokensWith(preds ...predicate.OAuthToken) predicate.OAuthApp
HasTokensWith applies the HasEdge predicate on the "tokens" edge with a given conditions (other predicates).
func LogoURL ¶
LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.
func LogoURLContains ¶
LogoURLContains applies the Contains predicate on the "logo_url" field.
func LogoURLContainsFold ¶
LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.
func LogoURLEqualFold ¶
LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.
func LogoURLGTE ¶
LogoURLGTE applies the GTE predicate on the "logo_url" field.
func LogoURLHasPrefix ¶
LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.
func LogoURLHasSuffix ¶
LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.
func LogoURLIsNil ¶
LogoURLIsNil applies the IsNil predicate on the "logo_url" field.
func LogoURLLTE ¶
LogoURLLTE applies the LTE predicate on the "logo_url" field.
func LogoURLNEQ ¶
LogoURLNEQ applies the NEQ predicate on the "logo_url" field.
func LogoURLNotIn ¶
LogoURLNotIn applies the NotIn predicate on the "logo_url" field.
func LogoURLNotNil ¶
LogoURLNotNil applies the NotNil predicate on the "logo_url" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OrganizationID ¶
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDIsNil ¶
OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func OrganizationIDNotNil ¶
OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Public ¶
Public applies equality check predicate on the "public" field. It's identical to PublicEQ.
func RefreshTokenRotation ¶
RefreshTokenRotation applies equality check predicate on the "refresh_token_rotation" field. It's identical to RefreshTokenRotationEQ.
func RefreshTokenRotationEQ ¶
RefreshTokenRotationEQ applies the EQ predicate on the "refresh_token_rotation" field.
func RefreshTokenRotationNEQ ¶
RefreshTokenRotationNEQ applies the NEQ predicate on the "refresh_token_rotation" field.
func RefreshTokenTTL ¶
RefreshTokenTTL applies equality check predicate on the "refresh_token_ttl" field. It's identical to RefreshTokenTTLEQ.
func RefreshTokenTTLEQ ¶
RefreshTokenTTLEQ applies the EQ predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLGT ¶
RefreshTokenTTLGT applies the GT predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLGTE ¶
RefreshTokenTTLGTE applies the GTE predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLIn ¶
RefreshTokenTTLIn applies the In predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLLT ¶
RefreshTokenTTLLT applies the LT predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLLTE ¶
RefreshTokenTTLLTE applies the LTE predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLNEQ ¶
RefreshTokenTTLNEQ applies the NEQ predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLNotIn ¶
RefreshTokenTTLNotIn applies the NotIn predicate on the "refresh_token_ttl" field.
func RevokedAt ¶
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type AppType ¶
type AppType string
AppType defines the type for the "app_type" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the OAuthApp queries.
func ByAccessTokenTTL ¶
func ByAccessTokenTTL(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenTTL orders the results by the access_token_ttl field.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByAppType ¶
func ByAppType(opts ...sql.OrderTermOption) OrderOption
ByAppType orders the results by the app_type field.
func ByAuthCodes ¶
func ByAuthCodes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAuthCodes orders the results by auth_codes terms.
func ByAuthCodesCount ¶
func ByAuthCodesCount(opts ...sql.OrderTermOption) OrderOption
ByAuthCodesCount orders the results by auth_codes count.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id field.
func ByConsents ¶
func ByConsents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByConsents orders the results by consents terms.
func ByConsentsCount ¶
func ByConsentsCount(opts ...sql.OrderTermOption) OrderOption
ByConsentsCount orders the results by consents count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFirstParty ¶
func ByFirstParty(opts ...sql.OrderTermOption) OrderOption
ByFirstParty orders the results by the first_party field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLogoURL ¶
func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
ByLogoURL orders the results by the logo_url field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPublic ¶
func ByPublic(opts ...sql.OrderTermOption) OrderOption
ByPublic orders the results by the public field.
func ByRefreshTokenRotation ¶
func ByRefreshTokenRotation(opts ...sql.OrderTermOption) OrderOption
ByRefreshTokenRotation orders the results by the refresh_token_rotation field.
func ByRefreshTokenTTL ¶
func ByRefreshTokenTTL(opts ...sql.OrderTermOption) OrderOption
ByRefreshTokenTTL orders the results by the refresh_token_ttl field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func BySecrets ¶
func BySecrets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySecrets orders the results by secrets terms.
func BySecretsCount ¶
func BySecretsCount(opts ...sql.OrderTermOption) OrderOption
BySecretsCount orders the results by secrets count.
func ByTokens ¶
func ByTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTokens orders the results by tokens terms.
func ByTokensCount ¶
func ByTokensCount(opts ...sql.OrderTermOption) OrderOption
ByTokensCount orders the results by tokens count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.