Packages
OpenAPI API client for Ory Kratos, Ory's central identity management solution with hardened authentication, MFA, FIDO2, TOTP, WebAuthn, SSO, profile management, and more.
Current section
Files
Jump to
Current section
Files
lib/ory/model/o_auth2_client.ex
# NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
# https://openapi-generator.tech
# Do not edit the class manually.
defmodule Ory.Model.OAuth2Client do
@moduledoc """
"""
@derive [Poison.Encoder]
defstruct [
:allowed_cors_origins,
:audience,
:authorization_code_grant_access_token_lifespan,
:authorization_code_grant_id_token_lifespan,
:authorization_code_grant_refresh_token_lifespan,
:backchannel_logout_session_required,
:backchannel_logout_uri,
:client_credentials_grant_access_token_lifespan,
:client_id,
:client_name,
:client_secret,
:client_secret_expires_at,
:client_uri,
:contacts,
:created_at,
:frontchannel_logout_session_required,
:frontchannel_logout_uri,
:grant_types,
:implicit_grant_access_token_lifespan,
:implicit_grant_id_token_lifespan,
:jwks,
:jwks_uri,
:jwt_bearer_grant_access_token_lifespan,
:logo_uri,
:metadata,
:owner,
:policy_uri,
:post_logout_redirect_uris,
:redirect_uris,
:refresh_token_grant_access_token_lifespan,
:refresh_token_grant_id_token_lifespan,
:refresh_token_grant_refresh_token_lifespan,
:registration_access_token,
:registration_client_uri,
:request_object_signing_alg,
:request_uris,
:response_types,
:scope,
:sector_identifier_uri,
:subject_type,
:token_endpoint_auth_method,
:token_endpoint_auth_signing_alg,
:tos_uri,
:updated_at,
:userinfo_signed_response_alg
]
@type t :: %__MODULE__{
:allowed_cors_origins => [String.t] | nil,
:audience => [String.t] | nil,
:authorization_code_grant_access_token_lifespan => String.t | nil,
:authorization_code_grant_id_token_lifespan => String.t | nil,
:authorization_code_grant_refresh_token_lifespan => String.t | nil,
:backchannel_logout_session_required => boolean() | nil,
:backchannel_logout_uri => String.t | nil,
:client_credentials_grant_access_token_lifespan => String.t | nil,
:client_id => String.t | nil,
:client_name => String.t | nil,
:client_secret => String.t | nil,
:client_secret_expires_at => integer() | nil,
:client_uri => String.t | nil,
:contacts => [String.t] | nil,
:created_at => DateTime.t | nil,
:frontchannel_logout_session_required => boolean() | nil,
:frontchannel_logout_uri => String.t | nil,
:grant_types => [String.t] | nil,
:implicit_grant_access_token_lifespan => String.t | nil,
:implicit_grant_id_token_lifespan => String.t | nil,
:jwks => AnyType | nil,
:jwks_uri => String.t | nil,
:jwt_bearer_grant_access_token_lifespan => String.t | nil,
:logo_uri => String.t | nil,
:metadata => AnyType | nil,
:owner => String.t | nil,
:policy_uri => String.t | nil,
:post_logout_redirect_uris => [String.t] | nil,
:redirect_uris => [String.t] | nil,
:refresh_token_grant_access_token_lifespan => String.t | nil,
:refresh_token_grant_id_token_lifespan => String.t | nil,
:refresh_token_grant_refresh_token_lifespan => String.t | nil,
:registration_access_token => String.t | nil,
:registration_client_uri => String.t | nil,
:request_object_signing_alg => String.t | nil,
:request_uris => [String.t] | nil,
:response_types => [String.t] | nil,
:scope => String.t | nil,
:sector_identifier_uri => String.t | nil,
:subject_type => String.t | nil,
:token_endpoint_auth_method => String.t | nil,
:token_endpoint_auth_signing_alg => String.t | nil,
:tos_uri => String.t | nil,
:updated_at => DateTime.t | nil,
:userinfo_signed_response_alg => String.t | nil
}
end
defimpl Poison.Decoder, for: Ory.Model.OAuth2Client do
import Ory.Deserializer
def decode(value, options) do
value
|> deserialize(:jwks, :struct, Ory.Model.AnyType, options)
|> deserialize(:metadata, :struct, Ory.Model.AnyType, options)
end
end