C# Class LtiLibrary.AspNet.Extensions.HttpRequestBaseExtensions

Afficher le fichier Open project: andyfmiller/LtiLibrary

Méthodes publiques

Méthode 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

Méthode Description
GetUnvalidatedString ( this request, string key ) : string

Method Details

CheckForRequiredLtiParameters() public static méthode

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

GenerateOAuthSignature() public static méthode

public static GenerateOAuthSignature ( this request, string consumerSecret ) : string
request this
consumerSecret string
Résultat string

GetLisContextType() public static méthode

public static GetLisContextType ( this request, string key ) : LisContextType?
request this
key string
Résultat LisContextType?

GetPresentationTarget() public static méthode

public static GetPresentationTarget ( this request, string key ) : DocumentTarget?
request this
key string
Résultat DocumentTarget?

IsAuthenticatedWithLti() public static méthode

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

RequireAllOf() public static méthode

public static RequireAllOf ( this request, IEnumerable parameters ) : void
request this
parameters IEnumerable
Résultat void

UnvalidatedParameters() public static méthode

public static UnvalidatedParameters ( this request ) : NameValueCollection
request this
Résultat System.Collections.Specialized.NameValueCollection