Lockspire.Security.Policy
(lockspire v1.0.0)
Copy Markdown
Shared security invariants for boot-time posture and protocol/runtime checks.
Summary
Functions
@spec ensure_supported_response_type(String.t() | nil) :: :ok | {:error, :unsupported_response_type}
@spec ensure_supported_token_endpoint_auth_method(atom() | nil) :: :ok | {:error, :unsupported_token_endpoint_auth_method}
@spec validate_key_compliance( Lockspire.Domain.SigningKey.t(), :fapi_2_0_security | :none ) :: :ok | {:error, term()}