com.cleeng.api.domain.PrepareRemoteAuthParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleeng-java-sdk Show documentation
Show all versions of cleeng-java-sdk Show documentation
When you are building your website or application with Java, you can use the Cleeng Java SDK. It simplifies the use of the Cleeng API as it handles user login and content access, and deals with all JSON-RPC specific code.
package com.cleeng.api.domain;
import java.io.Serializable;
public class PrepareRemoteAuthParams implements Serializable {
public String publisherToken;
public CustomerData customerData;
public FlowDescription flowDescription;
public PrepareRemoteAuthParams() {
}
public PrepareRemoteAuthParams( String publisherToken,
CustomerData customerData,
FlowDescription flowDescription ) {
this.publisherToken = publisherToken;
this.customerData = customerData;
this.flowDescription = flowDescription;
}
public static PrepareRemoteAuthParams create( String publisherToken,
CustomerData customerData,
FlowDescription flowDescription ) {
return new PrepareRemoteAuthParams( publisherToken, customerData, flowDescription );
}
}