3
0
corteza/store/auth_clients.yaml

46 lines
1.1 KiB
YAML

import:
- github.com/cortezaproject/corteza-server/system/types
fields:
- { field: ID }
- { field: Handle, sortable: true }
- { field: Meta, type: '*AuthClientMeta' }
- { field: Secret }
- { field: Scope }
- { field: ValidGrant }
- { field: RedirectURI }
- { field: Trusted }
- { field: Enabled }
- { field: ValidFrom, type: timestamp }
- { field: ExpiresAt, type: timestamp }
- { field: Security, type: '*AuthClientSecurity' }
- { field: OwnedBy }
- { field: CreatedBy }
- { field: UpdatedBy }
- { field: DeletedBy }
- { field: CreatedAt, sortable: true }
- { field: UpdatedAt, sortable: true }
- { field: DeletedAt, sortable: true }
lookups:
- fields: [ ID ]
description: |-
searches for auth client by ID
It returns auth client even if deleted
- fields: [ Handle ]
uniqueConstraintCheck: true
filter: { DeletedAt: nil }
description: |-
searches for auth client by ID
It returns auth client even if deleted
rdbms:
alias: ac
table: auth_clients
customFilterConverter: true
mapFields:
RedirectURI: { column: redirect_uri }