OAuthAuthorizationServerOptions.ApplicationCanDisplayErrors Property

Set to true if the web application is able to render error messages on the /Authorize endpoint. This is only needed for cases where the browser is not redirected back to the client application, for example, when the client_id or redirect_uri are incorrect. The /Authorize endpoint should expect to see "oauth.Error", "oauth.ErrorDescription", "oauth.ErrorUri" properties added to the owin environment.

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

Syntax

'Declaration
Public Property ApplicationCanDisplayErrors As Boolean 
    Get 
    Set
'Usage
Dim instance As OAuthAuthorizationServerOptions 
Dim value As Boolean 

value = instance.ApplicationCanDisplayErrors

instance.ApplicationCanDisplayErrors = value
public bool ApplicationCanDisplayErrors { get; set; }
public:
property bool ApplicationCanDisplayErrors {
    bool get ();
    void set (bool value);
}
member ApplicationCanDisplayErrors : bool with get, set
function get ApplicationCanDisplayErrors () : boolean 
function set ApplicationCanDisplayErrors (value : boolean)

Property Value

Type: System.Boolean

See Also

Reference

OAuthAuthorizationServerOptions Class

Microsoft.Owin.Security.OAuth Namespace