Exemplo n.º 1
0
 /**
  * Sets the error.
  *
  * <p>This should be used in {@link OAuthProcess#getIdentity(OAuthAccessToken token)
  * getIdentity()} implementations to set the error, before emitting {@link
  * OAuthProcess#authenticated() authenticated()} with an invalid {@link Identity}.
  */
 protected void setError(CharSequence error) {
   this.error_ = WString.toWString(error);
 }
Exemplo n.º 2
0
 /** Constructor. */
 public TokenError(CharSequence error) {
   super();
   this.error_ = WString.toWString(error);
 }