Reads the GroupMe AccessToken out of the given HttpRequest and instantiates a new IWebApiAccess class with the given
token.
Namespace: CkSoftware.GroupMe.Sdk.Helpers.AuthorizationAssembly: CkSoftware.GroupMe.Sdk.Helpers (in CkSoftware.GroupMe.Sdk.Helpers.dll) Version: 1.0.1.35398 (1.0.1.0)
Syntax
Parameters
- request
- Type: System.Web HttpRequestBase
The HttpRequest where the access-token should be read.
Return Value
Type: IWebApiAccessReturns a new IWebApiAccess instance which can be used for all GroupMe API calls.
Exceptions
Exception | Condition |
---|---|
GroupMeException | Thrown if there is no AccessToken inside the request. |
See Also