CustomAppIntegration
laktory.models.resources.databricks.CustomAppIntegration
¤
Bases: CustomAppIntegrationBase
Databricks Custom App Integration
Custom OAuth application integration.
Examples:
import io
from laktory import models
integration_yaml = '''
name: my-app
confidential: true
redirect_urls:
- https://example.com/callback
scopes:
- all-apis
'''
integration = models.resources.databricks.CustomAppIntegration.model_validate_yaml(
io.StringIO(integration_yaml)
)
References
| BASE | DESCRIPTION |
|---|---|
client_id
|
OAuth client-id generated by Databricks
TYPE:
|
client_secret
|
OAuth client-secret generated by the Databricks if this is a confidential OAuth app
TYPE:
|
confidential
|
Indicates whether an OAuth client secret is required to authenticate this client. Default to
TYPE:
|
create_time
|
TYPE:
|
created_by
|
TYPE:
|
creator_username
|
TYPE:
|
integration_id
|
Unique integration id for the custom OAuth app
TYPE:
|
name
|
Name of the custom OAuth app. Change requires a new resource
TYPE:
|
redirect_urls
|
List of OAuth redirect urls
TYPE:
|
scopes
|
OAuth scopes granted to the application. Supported scopes:
TYPE:
|
token_access_policy
|
TYPE:
|
user_authorized_scopes
|
TYPE:
|
laktory.models.resources.databricks.customappintegration.CustomAppIntegrationTokenAccessPolicy
¤
Bases: BaseModel
| PARAMETER | DESCRIPTION |
|---|---|
absolute_session_lifetime_in_minutes
|
TYPE:
|
access_token_ttl_in_minutes
|
access token time to live (TTL) in minutes
TYPE:
|
enable_single_use_refresh_tokens
|
TYPE:
|
refresh_token_ttl_in_minutes
|
refresh token TTL in minutes. The TTL of refresh token cannot be lower than TTL of access token
TYPE:
|