GroupMeClientAuthHelper GetWebApiAccessForAuthorizeRequest Method CkSoftware GroupMe SDK - Documentation
Reads the GroupMe AccessToken out of the given HttpRequest and instantiates a new IWebApiAccess class with the given token.

Namespace: CkSoftware.GroupMe.Sdk.Helpers.Authorization
Assembly: CkSoftware.GroupMe.Sdk.Helpers (in CkSoftware.GroupMe.Sdk.Helpers.dll) Version: 1.0.1.35398 (1.0.1.0)
Syntax

public IWebApiAccess GetWebApiAccessForAuthorizeRequest(
	HttpRequestBase request
)

Parameters

request
Type: System.Web HttpRequestBase
The HttpRequest where the access-token should be read.

Return Value

Type: IWebApiAccess
Returns a new IWebApiAccess instance which can be used for all GroupMe API calls.
Exceptions

ExceptionCondition
GroupMeExceptionThrown if there is no AccessToken inside the request.
See Also