Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 2.36 KB

OIDCProviderSpec.md

File metadata and controls

40 lines (31 loc) · 2.36 KB

OIDCProviderSpec

OIDCProviderSpec describes an OIDC provider configuration.

Properties

Name Type Description Notes
provider_type str The type of authentication provider.
display_name str Human-readable display name for the provider. [optional]
issuer str The OIDC issuer URL (e.g., https://accounts.google.com).
client_id str The OIDC client ID.
client_secret str The OIDC client secret.
enabled bool Whether this OIDC provider is enabled. [optional] [default to True]
scopes List[str] List of OIDC scopes to request. [optional]
prompt str Space-separated, case-sensitive authorization prompt values, such as login, consent, select_account, none, or provider-specific values. Omitted and null values are preserved in AuthProvider resources and exposed as select_account in public authentication configuration. An empty string instructs clients to omit the prompt parameter. Values must be printable ASCII separated by spaces; none cannot accompany a different value. Accepted values are preserved, including extra spaces and duplicates. [optional]
organization_assignment AuthOrganizationAssignment
username_claim List[str] JSON path to the username claim in the JWT token as an array of path segments (e.g., ["preferred_username"], ["email"], ["sub"]). [optional] [default to ["preferred_username"]]
role_assignment AuthRoleAssignment

Example

from flightctl.models.oidc_provider_spec import OIDCProviderSpec

# TODO update the JSON string below
json = "{}"
# create an instance of OIDCProviderSpec from a JSON string
oidc_provider_spec_instance = OIDCProviderSpec.from_json(json)
# print the JSON string representation of the object
print(OIDCProviderSpec.to_json())

# convert the object into a dict
oidc_provider_spec_dict = oidc_provider_spec_instance.to_dict()
# create an instance of OIDCProviderSpec from a dict
oidc_provider_spec_from_dict = OIDCProviderSpec.from_dict(oidc_provider_spec_dict)

[Back to Model list] [Back to API list] [Back to README]