C# Класс LtiLibrary.AspNet.Extensions.HttpRequestBaseExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
GetUnvalidatedString ( this request, string key ) : string

Описание методов

CheckForRequiredLtiParameters() публичный статический Метод

Parse the HttpRequest and return a filled in LtiRequest.
public static CheckForRequiredLtiParameters ( this request ) : void
request this The HttpRequest to parse.
Результат void

GenerateOAuthSignature() публичный статический Метод

public static GenerateOAuthSignature ( this request, string consumerSecret ) : string
request this
consumerSecret string
Результат string

GetLisContextType() публичный статический Метод

public static GetLisContextType ( this request, string key ) : LisContextType?
request this
key string
Результат LisContextType?

GetPresentationTarget() публичный статический Метод

public static GetPresentationTarget ( this request, string key ) : DocumentTarget?
request this
key string
Результат DocumentTarget?

IsAuthenticatedWithLti() публичный статический Метод

Get a value indicating whether the current request is authenticated using LTI.
public static IsAuthenticatedWithLti ( this request ) : bool
request this
Результат bool

RequireAllOf() публичный статический Метод

public static RequireAllOf ( this request, IEnumerable parameters ) : void
request this
parameters IEnumerable
Результат void

UnvalidatedParameters() публичный статический Метод

public static UnvalidatedParameters ( this request ) : NameValueCollection
request this
Результат System.Collections.Specialized.NameValueCollection