Skip to main content
A SCIM 2.0 service in memory (RFC 7644): /Users and /Groups with paging, an eq filter, uniqueness on userName, and PATCH by path, so ScimClient has a service to prove itself on. It is the kit’s fixture, and says nothing about any vendor’s SCIM.
Extends: FakeVendor Implements: IDisposable

Constructors

Fields

string
required

Properties

bool
required
Whether a user carries its read-only groups, which some services leave out.
List<string>
required
Every call that is not a read, as method and path.

Methods

AnswerAsync()

Answers a request that passed the failures.

Parameters

HttpRequestMessage
required
CancellationToken
required

Returns

Task<HttpResponseMessage>

DeleteAccount()

Deletes an account outside the connector.

Parameters

string
required

Field()

Reads a field from the fake’s own state.

Parameters

string
required
string
required

Returns

string

Grant()

Gives an account a value directly.

Parameters

string
required
string
required
string
required

Held()

Lists what an account holds on one field.

Parameters

string
required
string
required

Returns

IReadOnlyCollection<string>

MatchKey()

Gets the match key of a named account.

Parameters

string
required

Returns

string

Nest()

Makes child a member of parent, with the member’s type unless typed is off, as some services send it.

Parameters

string
required
string
required
bool

NewAccount()

Builds the account a valid create writes.

Parameters

string
required

Returns

JsonObject

SeedAccount()

Adds an active account and returns its id.

Parameters

string
required

Returns

string

SeedEntitlement()

Adds a value an account can hold.

Parameters

string
required
string
required

Returns

string

Standing()

Reads how an account stands.

Parameters

string
required

Returns

TenantStanding

User()

Parameters

string
required

Returns

JsonObject

UserNamed()

Ignores case.

Parameters

string
required

Returns

JsonObject