# 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

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

## Parameters

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

## Returns

`Promise<Ap2UserMandateResult>`

Runs locally, with no request to the API.
