Class ClientCredentials

java.lang.Object
org.opencastproject.publication.youtube.auth.ClientCredentials

public final class ClientCredentials extends Object
ClientCredentials class represents the set of parameters required to make an authorization request.
  • Constructor Details

    • ClientCredentials

      public ClientCredentials()
  • Method Details

    • getClientId

      public String getClientId()
    • getCredentialDatastore

      public String getCredentialDatastore()
    • getDataStoreDirectory

      public String getDataStoreDirectory()
    • getScopes

      public List<String> getScopes()
    • getClientSecrets

      public File getClientSecrets()
    • setClientSecrets

      public void setClientSecrets(File clientSecrets) throws IOException, org.json.simple.parser.ParseException
      Throws:
      IOException
      org.json.simple.parser.ParseException
    • setCredentialDatastore

      public void setCredentialDatastore(String credentialDatastore)
    • setDataStoreDirectory

      public void setDataStoreDirectory(String dataStoreDirectory)
    • toString

      public String toString()
      Overrides:
      toString in class Object