IAuthenticationManager Interface

 

Used to interact with authentication middleware that have been chained in the pipeline.

Namespace:   Microsoft.Owin.Security
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

public interface class IAuthenticationManager

NameDescription
System_CAPS_pubpropertyAuthenticationResponseChallenge

Exposes the security.Challenge environment value as a strong type.

System_CAPS_pubpropertyAuthenticationResponseGrant

Exposes the security.SignIn environment value as a strong type.

System_CAPS_pubpropertyAuthenticationResponseRevoke

Exposes the security.SignOut environment value as a strong type.

System_CAPS_pubpropertyUser

Returns the current user for the request.

NameDescription
System_CAPS_pubmethodAuthenticateAsync(String^)

Call back through the middleware to ask for a specific form of authentication to be performed on the current request.

System_CAPS_pubmethodAuthenticateAsync(array<String^>^)

Called to perform any number of authentication mechanisms on the current request.

System_CAPS_pubmethodChallenge(AuthenticationProperties^, array<String^>^)

Add information into the response environment that will cause the authentication middleware to challenge the caller to authenticate. This also changes the status code of the response to 401. The nature of that challenge varies greatly, and ranges from adding a response header or changing the 401 status code to a 302 redirect.

System_CAPS_pubmethodChallenge(array<String^>^)

Add information into the response environment that will cause the authentication middleware to challenge the caller to authenticate. This also changes the status code of the response to 401. The nature of that challenge varies greatly, and ranges from adding a response header or changing the 401 status code to a 302 redirect.

System_CAPS_pubmethodGetAuthenticationTypes()

Lists all of the description data provided by authentication middleware that have been chained

System_CAPS_pubmethodGetAuthenticationTypes(Func<AuthenticationDescription^, Boolean>^)

Lists the description data of all of the authentication middleware which are true for a given predicate.

System_CAPS_pubmethodSignIn(AuthenticationProperties^, array<ClaimsIdentity^>^)

Add information to the response environment that will cause the appropriate authentication middleware to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 access code or token response.

System_CAPS_pubmethodSignIn(array<ClaimsIdentity^>^)

Add information to the response environment that will cause the appropriate authentication middleware to grant a claims-based identity to the recipient of the response. The exact mechanism of this may vary. Examples include setting a cookie, to adding a fragment on the redirect url, or producing an OAuth2 access code or token response.

System_CAPS_pubmethodSignOut(AuthenticationProperties^, array<String^>^)

Add information to the response environment that will cause the appropriate authentication middleware to revoke any claims identity associated the the caller. The exact method varies.

System_CAPS_pubmethodSignOut(array<String^>^)

Add information to the response environment that will cause the appropriate authentication middleware to revoke any claims identity associated the the caller. The exact method varies.

Return to top
Show: