Table of Contents

Interface ISamlResourceResolver

Namespace
Fdyay.IdentityServer.Saml.Idp
Assembly
Fdyay.IdentityServer.Saml.dll

Which claim types a service provider may be issued as attributes. Duende 8.0.1's ISamlResourceResolver.

public interface ISamlResourceResolver

Remarks

Asked at both sign-on doors before the assertion is built — by the AuthnRequest validator, after its other checks, and by the IdP-initiated endpoint once the user is signed in — and the claim types it answers are what the profile service is asked for. A failure refuses the sign-on.

Methods

ResolveRequestedClaimTypesAsync(SamlServiceProvider, CancellationToken)

The claim types sp may be issued, or why the sign-on is refused.

Task<SamlResourceResolutionResult> ResolveRequestedClaimTypesAsync(SamlServiceProvider sp, CancellationToken ct)

Parameters

sp SamlServiceProvider

The registration of the service provider the assertion is for.

ct CancellationToken

Cancels the resolution.

Returns

Task<SamlResourceResolutionResult>

A successful result carrying the claim types and identity resources, or a failure carrying the message.