All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.wix.restaurants.authentication.model.GoogleLoginRequest Maven / Gradle / Ivy

There is a newer version: 1.12.0
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy