C# Class OAuth.AspNet.AuthServer.AuthorizeEndpointRequest

Data object representing the information contained in the query string of an Authorize endpoint request.
显示文件 Open project: XacronDevelopment/oauth-aspnet Class Usage Examples

Private Properties

Property Type Description
AddParameter void

Public Methods

Method Description
AuthorizeEndpointRequest ( IQueryCollection parameters ) : System

Creates a new instance populated with values from the query string parameters.

ContainsGrantType ( string responseType ) : bool

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

Private Methods

Method Description
AddParameter ( string name, string value ) : void

Method Details

AuthorizeEndpointRequest() public method

Creates a new instance populated with values from the query string parameters.
public AuthorizeEndpointRequest ( IQueryCollection parameters ) : System
parameters IQueryCollection Query string parameters from a request.
return System

ContainsGrantType() public method

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
public ContainsGrantType ( string responseType ) : bool
responseType string The responseType that is expected within the "response_type" query string
return bool