C# Class LtiLibrary.AspNet.Extensions.HttpRequestBaseExtensions

Datei anzeigen Open project: andyfmiller/LtiLibrary

Public Methods

Method Description
CheckForRequiredLtiParameters ( this request ) : void

Parse the HttpRequest and return a filled in LtiRequest.

GenerateOAuthSignature ( this request, string consumerSecret ) : string
GetLisContextType ( this request, string key ) : LisContextType?
GetPresentationTarget ( this request, string key ) : DocumentTarget?
IsAuthenticatedWithLti ( this request ) : bool

Get a value indicating whether the current request is authenticated using LTI.

RequireAllOf ( this request, IEnumerable parameters ) : void
UnvalidatedParameters ( this request ) : NameValueCollection

Private Methods

Method Description
GetUnvalidatedString ( this request, string key ) : string

Method Details

CheckForRequiredLtiParameters() public static method

Parse the HttpRequest and return a filled in LtiRequest.
public static CheckForRequiredLtiParameters ( this request ) : void
request this The HttpRequest to parse.
return void

GenerateOAuthSignature() public static method

public static GenerateOAuthSignature ( this request, string consumerSecret ) : string
request this
consumerSecret string
return string

GetLisContextType() public static method

public static GetLisContextType ( this request, string key ) : LisContextType?
request this
key string
return LisContextType?

GetPresentationTarget() public static method

public static GetPresentationTarget ( this request, string key ) : DocumentTarget?
request this
key string
return DocumentTarget?

IsAuthenticatedWithLti() public static method

Get a value indicating whether the current request is authenticated using LTI.
public static IsAuthenticatedWithLti ( this request ) : bool
request this
return bool

RequireAllOf() public static method

public static RequireAllOf ( this request, IEnumerable parameters ) : void
request this
parameters IEnumerable
return void

UnvalidatedParameters() public static method

public static UnvalidatedParameters ( this request ) : NameValueCollection
request this
return System.Collections.Specialized.NameValueCollection