FederatedAuthenticationProtocolSetProviderIdClaim Method |
Sets the value of the authentication provider in the claims identity (if not already present). See remarks.
Namespace:
Dundas.BI.AccountServices.Extensibility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntaxprotected void SetProviderIdClaim(
ClaimsIdentity identity,
string providerId
)
Protected Sub SetProviderIdClaim (
identity As ClaimsIdentity,
providerId As String
)
protected:
void SetProviderIdClaim(
ClaimsIdentity^ identity,
String^ providerId
)
member SetProviderIdClaim :
identity : ClaimsIdentity *
providerId : string -> unit
Parameters
- identity
- Type: System.Security.ClaimsClaimsIdentity
The claims identity. - providerId
- Type: SystemString
The ID of the authentication provider.
Remarks
This method is to be called once authentication has succeeded (for example in a callback notification
such as SecurityTokenValidated). If not called, a maximum of 1 federated authentication provider
will be supported.
See Also