Class OAuth2ClientCredentials (1.32.1)

public class OAuth2ClientCredentials

OAuth 2 credentials found in the Developer Profile Page.

Once at the Developer Profile page, you will need to create a Daily Motion account if you do not already have one. Click on "Create a new API Key". Enter "http://127.0.0.1:8080/Callback" under "Callback URL" and select "Native Application" under "Application Profile". Enter a port number other than 8080 if that is what you intend to use.

Inheritance

java.lang.Object > OAuth2ClientCredentials

Constructors

OAuth2ClientCredentials()

public OAuth2ClientCredentials()

Fields

API_KEY

public static final String API_KEY

Value of the "API Key".

Field Value
TypeDescription
String

API_SECRET

public static final String API_SECRET

Value of the "API Secret".

Field Value
TypeDescription
String

DOMAIN

public static final String DOMAIN

Domain name in the "Callback URL".

Field Value
TypeDescription
String

PORT

public static final int PORT

Port in the "Callback URL".

Field Value
TypeDescription
int

Methods

errorIfNotSpecified()

public static void errorIfNotSpecified()