SDK reference · Rails
readNeed
readNeed in @provenanceauth/rails/a2a, Rails. What an auth-required status says the receiver needs, or null (another state, or no need under the URI).
Signature
readNeed(status: unknown): DelegationNeed | nullParameters
statusunknownRequired
Returns
DelegationNeed | null
HTTP operation
Runs locally, with no request to the API.