示例#1
0
 public void authorizeWithPin(String pin) {
   authData = auth.exchangePin(this.clientId, this.clientSecret, "pin", pin);
 }
示例#2
0
 private void doRefresh() {
   if (this.authData != null)
     authData =
         auth.refresh(
             this.clientId, this.clientSecret, "refresh_token", this.authData.getRefreshToken());
 }