com.wix.restaurants.authentication.model.GoogleLoginRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wix-restaurants-authentication-api Show documentation
Show all versions of wix-restaurants-authentication-api Show documentation
Wix Restaurants Authentication API
package com.wix.restaurants.authentication.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
@JsonIgnoreProperties(ignoreUnknown = true)
public class GoogleLoginRequest extends Request {
public static final String TYPE = "google.login";
private static final long serialVersionUID = 1L;
/** Default constructor for JSON deserialization. */
public GoogleLoginRequest() {}
public GoogleLoginRequest(String clientId, String idToken) {
this.clientId = clientId;
this.idToken = idToken;
}
/** @see OpenID Connect */
@JsonInclude(Include.NON_NULL)
public String clientId;
/** @see OpenID Connect */
@JsonInclude(Include.NON_NULL)
public String idToken;
}