Files
farmOS-dev/web/modules/simple_oauth/config/schema/simple_oauth.schema.yml
2024-12-10 15:08:16 +01:00

124 lines
3.5 KiB
YAML

simple_oauth.oauth2_token.bundle.*:
type: config_entity
label: 'OAuth2 token type'
mapping:
id:
type: string
label: 'ID'
label:
type: label
label: 'Label'
description:
type: text
label: 'Description'
locked:
type: boolean
label: 'Locked'
simple_oauth.oauth2_scope.*:
type: config_entity
label: 'OAuth2 scope'
mapping:
id:
type: string
label: 'ID'
name:
type: string
label: 'Name'
description:
type: text
label: 'Description'
grant_types:
type: sequence
label: 'Grant types'
sequence:
type: grant_type.[%key]
umbrella:
type: boolean
label: 'Umbrella'
parent:
type: string
label: 'Parent'
granularity:
type: string
label: 'Granularity'
permission:
type: string
label: 'Permission'
role:
type: string
label: 'Role'
langcode:
type: string
label: 'Language code'
grant_type.authorization_code:
type: grant_type.settings
label: 'Authorization code'
grant_type.client_credentials:
type: grant_type.settings
label: 'Client credentials'
grant_type.refresh_token:
type: grant_type.settings
label: 'Refresh Token'
grant_type.settings:
type: mapping
mapping:
status:
type: boolean
label: 'Enabled'
description:
type: text
label: 'Description'
simple_oauth.settings:
type: config_object
label: 'Simple OAuth Settings'
mapping:
scope_provider:
type: string
label: 'Scope provider'
token_cron_batch_size:
type: integer
label: 'Token batch size'
description: 'The number of expired token to delete per batch during cron cron'
public_key:
type: path
label: 'Public Key'
description: 'The path to the public file.'
private_key:
type: path
label: 'Private Key'
description: 'The path to the private file.'
disable_openid_connect:
type: boolean
label: 'Disable OpenID Connect?'
description: 'OpenID Connect will be enabled, unless this flag is active.'
access_token_expiration:
type: integer
label: 'Access Token Expiration Time'
description: 'The default period in seconds while a access token is valid'
deprecated: "The 'access_token_expiration' config is deprecated and migrated as BaseField to the consumer entity"
authorization_code_expiration:
type: integer
label: 'Authorization Code Expiration Time'
description: 'The default period in seconds while an authorization code is valid'
deprecated: "The 'authorization_code_expiration' config is deprecated and migrated as BaseField to the consumer entity"
refresh_token_expiration:
type: integer
label: 'Refresh Token Expiration Time'
description: 'The default period in seconds while a refresh token is valid'
deprecated: "The 'refresh_token_expiration' config is deprecated and migrated as BaseField to the consumer entity"
remember_clients:
type: boolean
label: 'Remember clients'
deprecated: "The 'remember_clients' config is deprecated and migrated as BaseField to the consumer entity"
use_implicit:
type: boolean
label: 'Enable the implicit grant?'
description: 'Only use the implicit grant if you understand the security implications of using it.'
deprecated: "The 'remember_clients' config is deprecated, the implicit flow is insecure as stated by the OAuth2 BP"