View Source Boruta.Oauth.Client (Boruta ssi core v0.1.0-beta.1)
OAuth client schema and utilities
Summary
Functions
Returns grant types supported by the server. Boruta.Oauth.Client
supported_grant_types
attribute may be a subset of them.
Returns wallet grant types supported by the server. Boruta.Oauth.Client
supported_grant_types
attribute may be a subset of them.
Types
@type t() :: %Boruta.Oauth.Client{ access_token_ttl: integer(), authorization_code_ttl: integer(), authorization_request_ttl: integer(), authorize_scope: boolean(), authorized_scopes: [Boruta.Oauth.Scope.t()], confidential: boolean(), did: String.t() | nil, enforce_dpop: boolean(), enforce_tx_code: boolean(), id: any(), id_token_kid: String.t() | nil, id_token_signature_alg: String.t(), id_token_ttl: integer(), jwks_uri: String.t() | nil, jwt_public_key: String.t(), logo_uri: String.t() | nil, metadata: map(), name: String.t(), pkce: boolean(), private_key: String.t(), public_client_id: String.t() | nil, public_key: String.t(), public_refresh_token: boolean(), public_revoke: boolean(), redirect_uris: [String.t()], refresh_token_ttl: integer(), response_mode: String.t(), secret: String.t(), supported_grant_types: [String.t()], token_endpoint_auth_methods: [String.t()], token_endpoint_jwt_auth_alg: String.t(), userinfo_signed_response_alg: String.t() | nil }
Functions
@spec grant_types() :: grant_types :: [String.t()]
Returns grant types supported by the server. Boruta.Oauth.Client
supported_grant_types
attribute may be a subset of them.
@spec wallet_grant_types() :: grant_types :: [String.t()]
Returns wallet grant types supported by the server. Boruta.Oauth.Client
supported_grant_types
attribute may be a subset of them.