Monday, January 30, 2017

Aerohive HMNG API "Refreshing a Token"

based on :  https://developer.aerohive.com


1)  Using endpoint https://cloud.aerohive.com/services/oauth2/token

POST : https://cloud.aerohive.com/services/oauth2/token?grant_type=refresh_token&refresh_token=VephPaRwBhTR60Zg14cCIbWsB7SCqPnV


Content-Type : application/x-www-form-urlencoded
Authorization : Basic OTU4NzY4NDE6ODY0OTM4MA4YTU3NzlkNzEwY2QwNDdjNmIxMTlkZTg=
























2) [NOT recommended] Using endpoint : https://cloud.aerohive.com/services/acct/thirdparty/refreshtoken 

POST : https://cloud.aerohive.com/services/acct/thirdparty/refreshtoken?refreshToken=0-GI5UcUKqi9foTrE_-k6z6OMLDDnJtK

X-AH-API-CLIENT-ID : 9587841
X-AH-API-CLIENT-SECRET : 86493008a5779d710cd047c6b119de8
X-AH-API-CLIENT-REDIRECT-URI : https://apache.testneta.local



No comments: