Class RVBearerTokenDataSourceCredential

    • Constructor Detail

      • RVBearerTokenDataSourceCredential

        public RVBearerTokenDataSourceCredential​(String token,
                                                 String userId)
        Creates credentials with the specified attributes.
        token - Required. This is usually the access token resulting from an OAuth authentication process. The provided token is expected to be valid (not expired). If the caller's available token is expired or is about to expire, it is the caller's responsibility to perform a OAuth refresh request in order to get a fresh access token to use as a parameter for this constructor.
        userId - Required. A string that uniquely identifies the user associated with this credentials.
    • Method Detail

      • getToken

        public String getToken()
      • getUserId

        public String getUserId()