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.
Static Fields
API_KEY
public static final String API_KEY
Value of the "API Key".
Field Value | |
---|---|
Type | Description |
String |
API_SECRET
public static final String API_SECRET
Value of the "API Secret".
Field Value | |
---|---|
Type | Description |
String |
DOMAIN
public static final String DOMAIN
Domain name in the "Callback URL".
Field Value | |
---|---|
Type | Description |
String |
PORT
public static final int PORT
Port in the "Callback URL".
Field Value | |
---|---|
Type | Description |
int |
Static Methods
errorIfNotSpecified()
public static void errorIfNotSpecified()
Constructors
OAuth2ClientCredentials()
public OAuth2ClientCredentials()