IAuthenticationManager.GetAuthenticationTypes Method (Func<AuthenticationDescription, Boolean>)
Lists the description data of all of the authentication middleware which are true for a given predicate.
Namespace: Microsoft.Owin.Security
Assembly: Microsoft.Owin (in Microsoft.Owin.dll)
Syntax
'Declaration
Function GetAuthenticationTypes ( _
predicate As Func(Of AuthenticationDescription, Boolean) _
) As IEnumerable(Of AuthenticationDescription)
'Usage
Dim instance As IAuthenticationManager
Dim predicate As Func(Of AuthenticationDescription, Boolean)
Dim returnValue As IEnumerable(Of AuthenticationDescription)
returnValue = instance.GetAuthenticationTypes(predicate)
IEnumerable<AuthenticationDescription> GetAuthenticationTypes(
Func<AuthenticationDescription, bool> predicate
)
IEnumerable<AuthenticationDescription^>^ GetAuthenticationTypes(
Func<AuthenticationDescription^, bool>^ predicate
)
abstract GetAuthenticationTypes :
predicate:Func<AuthenticationDescription, bool> -> IEnumerable<AuthenticationDescription>
function GetAuthenticationTypes(
predicate : Func<AuthenticationDescription, boolean>
) : IEnumerable<AuthenticationDescription>
Parameters
- predicate
Type: System.Func<AuthenticationDescription, Boolean>
A function provided by the caller which returns true for descriptions that should be in the returned list.
Return Value
Type: System.Collections.Generic.IEnumerable<AuthenticationDescription>
The authentication descriptions
See Also
Reference
IAuthenticationManager Interface