Authly::DynamicClient
Inherits JSON::Serializable / Struct / Value / Object
Represents a dynamically registered OAuth2 client per RFC 7591
Constructors
from_registration_request(params : Hash(String, JSON::Any)) : DynamicClient
Create from registration request
new(client_id : String, client_secret : String | Nil, redirect_uris : Array(String), grant_types : Array(String) = ["authorization_code"], response_types : Array(String) = ["code"], token_endpoint_auth_method : String | Nil = "client_secret_basic", client_name : String | Nil = nil, client_uri : String | Nil = nil, logo_uri : String | Nil = nil, scope : String | Nil = nil, contacts : Array(String) | Nil = nil, tos_uri : String | Nil = nil, policy_uri : String | Nil = nil, jwks_uri : String | Nil = nil, software_id : String | Nil = nil, software_version : String | Nil = nil, authorization_signed_response_alg : String | Nil = nil, authorization_encrypted_response_alg : String | Nil = nil, authorization_encrypted_response_enc : String | Nil = nil, jwks : String | Nil = nil, client_id_issued_at : Int64 = Time.utc.to_unix, client_secret_expires_at : Int64 | Nil = nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
authorization_encrypted_response_alg
Sourceauthorization_encrypted_response_enc
Sourceclient_secret
Sourceclient_secret_expires_at
Sourceclient_uri
Sourcecontacts
Sourcegrant_types
Sourcejwks
Sourcejwks_uri
Sourcelogo_uri
Sourcepolicy_uri
Sourceredirect_uris
Sourceresponse_types
Sourcescope
Sourcesoftware_id
Sourcesoftware_version
Sourcetoken_endpoint_auth_method
Sourcetos_uri
Source