Compartilhar via


AuthorizeEndpointRequest.ContainsGrantType Method (String)

 

True if the "response_type" query string contains the passed responseType. See also, http://openid.net/specs/oauth-v2-multiple-response-types-1\_0.html

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

Syntax

public bool ContainsGrantType(
    string responseType
)
public:
bool ContainsGrantType(
    String^ responseType
)
member ContainsGrantType : 
        responseType:string -> bool
Public Function ContainsGrantType (
    responseType As String
) As Boolean

Parameters

  • responseType
    Type: System.String

    The responseType that is expected within the "response_type" query string

Return Value

Type: System.Boolean

True if the "response_type" query string contains the passed responseType.

See Also

AuthorizeEndpointRequest Class
Microsoft.Owin.Security.OAuth.Messages Namespace

Return to top