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

com.verisec.frejaeid.client.beans.authentication.get.AuthenticationResultsRequest Maven / Gradle / Ivy

package com.verisec.frejaeid.client.beans.authentication.get;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.verisec.frejaeid.client.beans.common.ResultsRequest;

public class AuthenticationResultsRequest extends ResultsRequest {

    /**
     * Returns instance of {@linkplain AuthenticationResultsRequest}.
     *
     * @return request
     */
    public static AuthenticationResultsRequest create() {
        return new AuthenticationResultsRequest(null);
    }

    /**
     * Returns instance of {@linkplain AuthenticationResultsRequest} with given
     * relying party id.
     *
     * Only relying parties that are integrators should use this method.
     *
     * @param relyingPartyId specifies relying party id for which transaction is
     *                       initiated. It cannot be {@code null} or empty.
     * @return request
     */
    public static AuthenticationResultsRequest create(String relyingPartyId) {
        return new AuthenticationResultsRequest(relyingPartyId);
    }

    private AuthenticationResultsRequest(String relyingPartyId) {
        super(relyingPartyId);
    }

    @JsonCreator
    private AuthenticationResultsRequest() {
        super(null);
    }

    @Override
    public String toString() {
        return "AuthenticationResultsRequest{" + super.toString() + '}';
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy