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