Class DbxOAuth1AccessToken


  • public final class DbxOAuth1AccessToken
    extends java.lang.Object
    Use with DbxOAuth1Upgrader to convert old OAuth 1 access tokens to OAuth 2 access tokens. This SDK doesn't support using OAuth 1 access tokens for regular API calls.
    • Constructor Summary

      Constructors 
      Constructor Description
      DbxOAuth1AccessToken​(java.lang.String key, java.lang.String secret)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey()
      Returns the OAuth 1 access token key.
      java.lang.String getSecret()
      Returns the OAuth 1 access token secret.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DbxOAuth1AccessToken

        public DbxOAuth1AccessToken​(java.lang.String key,
                                    java.lang.String secret)
        Parameters:
        key - OAuth 1 access token key
        secret - OAuth 2 access token secret
    • Method Detail

      • getKey

        public java.lang.String getKey()
        Returns the OAuth 1 access token key.
        Returns:
        OAuth 1 access token key
      • getSecret

        public java.lang.String getSecret()
        Returns the OAuth 1 access token secret.
        Returns:
        OAuth 1 access token secret