View as Markdown

SDK reference · Rails

verifyAp2UserMandateOnline

verifyAp2UserMandateOnline in @provenanceauth/rails/ap2, Rails. Then the revocation of the intent token the mandate carries (com.provenanceauth.intent), through your online status check (e.g.

Signature

verifyAp2UserMandateOnline(serialized: string, opts: Ap2UserMandateOptions & { onlineStatus: (jti: string, token: string) => Promise<{ revoked: boolean; reason?: string }> }): Promise<Ap2UserMandateResult>

Parameters

serializedstringRequired
optsAp2UserMandateOptions & { onlineStatus: (jti: string, token: string) => Promise<{ revoked: boolean; reason?: string }> }Required

Returns

Promise<Ap2UserMandateResult>

HTTP operation

Runs locally, with no request to the API.

Was this page helpful? Send us feedback

LLM? Read llms.txt.