'Declaration
<CLSCompliantAttribute(False)> <CanBeNullAttribute()> Public Overrides NotOverridable Function CreateSecurityTokenProvider( _ ByVal tokenInfoPolicy As TokenInfoPolicy _ ) As SecurityTokenProvider
'Usage
Dim instance As UserNameTokenInfo Dim tokenInfoPolicy As TokenInfoPolicy Dim value As SecurityTokenProvider value = instance.CreateSecurityTokenProvider(tokenInfoPolicy)
[CLSCompliant(false)] [CanBeNull()] public override SecurityTokenProvider CreateSecurityTokenProvider( TokenInfoPolicy tokenInfoPolicy )
[CLSCompliant(false)] [CanBeNull()] public: SecurityTokenProvider^ CreateSecurityTokenProvider( TokenInfoPolicy^ tokenInfoPolicy ) override
Parameters
- tokenInfoPolicy
- The token info policy to be used when creating the provider.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
null
for an anonymous token.
This method can return null
(Nothing
in Visual Basic).