Extends: HttpMessageHandler
Implements: IDisposable
Constructors
Fields
The only token the vendor accepts.
Properties
How many items one page holds.
Whether a list repeats the cursor sent.
Methods
AnswerAsync()
Answers a request that passed the failures.
Parameters
HttpRequestMessage
required
CancellationToken
required
Returns
Task<HttpResponseMessage>
Context()
Builds a context that reaches this vendor.
Type Parameters
Parameters
Returns
ConnectionContext
DeleteAccount()
Deletes an account outside the connector.
Parameters
FailNext()
Fails the coming requests.
Parameters
Field()
Reads a field from the fake’s own state.
Parameters
Returns
string
Grant()
Gives an account a value directly.
Parameters
Held()
Lists what an account holds on one field.
Parameters
Returns
IReadOnlyCollection<string>
MatchKey()
Gets the match key of a named account.
Parameters
Returns
string
NewAccount()
Builds the account a valid create writes.
Parameters
Returns
JsonObject
SeedAccount()
Adds an active account and returns its id.
Parameters
Returns
string
SeedEntitlement()
Adds a value an account can hold.
Parameters
Returns
string
SendAsync()
Parameters
HttpRequestMessage
required
CancellationToken
required
Returns
Task<HttpResponseMessage>
Standing()
Reads how an account stands.
Parameters
Returns
TenantStanding