arsd.oauth

Members

Aliases

hashid
alias hashid = int

Classes

FacebookApiException
class FacebookApiException

Functions

authorizeStepOne
void authorizeStepOne(Cgi cgi, OAuthParams params, string oauthCallback = null, string additionalOptions = null, string[string] additionalTokenArgs = null)

Redirects the user to the authorize page on the provider's website.

authorizeStepTwo
string[] authorizeStepTwo(const(Cgi) cgi, OAuthParams params)

Gets the final token, given the stuff from step one. This should be called from the callback in step one.

base64UrlDecode
immutable(ubyte)[] base64UrlDecode(string e)
curlOAuth
string curlOAuth(OAuthParams auth, string url, string[string] oauthValues, string method = null, string data = null, string contentType = "application/x-www-form-urlencoded")

Note in oauthValues: It creates the nonce, signature_method, version, consumer_key, and timestamp ones inside this function - you don't have to do it.

jsonToVariant
Variant jsonToVariant(string json)

Structs

OAuthParams
struct OAuthParams
Suggestion Box / Bug Report