This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LaunchKey.deauthorize(auth_request) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"date_stamp" : "2013-04-20 21:40:02", | |
"launchkey_time" : "2013-09-11 07:33:11", | |
"key" : "-----BEGIN PUBLIC KEY-----\n\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8zQos4iDSjmUVrFUAg5G\nuhU6GehNKb8MCXFadRWiyLGjtbGZAk8fusQU0Uj9E3o0mne0SYESACkhyK+3M1Er\nbHlwYJHN0PZHtpaPWqsRmNzui8PvPmhm9QduF4KBFsWu1sBw0ibBYsLrua67F/wK\nPaagZRnUgrbRUhQuYt+53kQNH9nLkwG2aMVPxhxcLJYPzQCat6VjhHOX0bgiNt1i\nHRHU2phxBcquOW2HpGSWcpzlYgFEhPPQFAxoDUBYZI3lfRj49gBhGQi32qQ1YiWp\naFxOB8GA0Ny5SfI67u6w9Nz9Z9cBhcZBfJKdq5uRWjZWslHjBN3emTAKBpAUPNET\nnwIDAQAB\n\n-----END PUBLIC KEY-----\n" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Paste above the end </body> tag in your HTML --> | |
<script type="text/javascript"> | |
LK = Object(); | |
LK.appKey = 1234567890; | |
LK.icon = "medium"; | |
LK.redirectURL = location.protocol + '//' + location.host + window.location.pathname; | |
LK.color = "blue"; | |
</script> | |
<script src="https://d2882u593o0m3.cloudfront.net/lksdk.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://oauth.launchkey.com/authorize? | |
client_id=1234567890 | |
&redirect_uri=REDIRECT_PAGE_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://oauth.launchkey.com/access_token? | |
client_id=1234567890 | |
&client_secret=YOUR_SECRET_KEY | |
&redirect_uri=REDIRECT_PAGE_URL | |
&code=AUTHORIZATION_CODE | |
&grant_type=authorization_code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -i -H "Authorization: Bearer DZUonEx5YpM2jeLHhBmH1xKsg3pB2VAB6L5HrrHiHLcK7M1U2qtsb78gDNNXTf2W" https://oauth.launchkey.com/resource/ping |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://oauth.launchkey.com/access_token? | |
client_id=1234567890 | |
&client_secret=SECRET_KEY | |
&redirect_uri=REDIRECT_PAGE_URL | |
&refresh_token=REFRESH_TOKEN | |
&grant_type=refresh_token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET https://oauth.launchkey.com/logout? | |
access_token=YjDhzsqVUgIPPzue0hdULnmidw7GDuiY0fjl77SftVdfLdaSKBpvz169AjmSzIvg | |
&close=true |