Show / Hide Table of Contents

GetRpIdRequirement Method

GetRpIdRequirement(PinUvAuthTokenPermissions)

Determines if the given permission is one for which a Relying Party ID is required, optional, or ignored.

C#
public static RequirementValue GetRpIdRequirement(this PinUvAuthTokenPermissions permissions)

Parameters

Type Name Description
PinUvAuthTokenPermissions permissions

The list of permissions to check.

Returns

RequirementValue

A RequirementValue indicating whether the Relying Party ID is required, optional, or ignored for the permission.

Remarks

Generally, this will be called with a single permission. That is, the check will be for a permissions variable of only MakeCredential or CredentialManagement. However, this extension will check for all permissions. If one permission set requires the RP ID, then this will return Required.

In this article
Back to top Generated by DocFX