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

com.authlete.common.dto.CredentialOfferInfoRequest Maven / Gradle / Ivy

Go to download

Authlete Java library used commonly by service implementations and the Authlete server.

The newest version!
/*
 * Copyright (C) 2023 Authlete, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.authlete.common.dto;


import java.io.Serializable;


/**
 * Request to Authlete's {@code /vci/offer/info} API.
 *
 * 

* The API is used to get information about a credential offer. *

* * @since 3.59 * @since Authlete 3.0 * * @see OpenID for Verifiable Credential Issuance */ public class CredentialOfferInfoRequest implements Serializable { private static final long serialVersionUID = 1L; /** * The identifier of the credential offer. */ private String identifier; /** * Get the identifier of the credential offer. * *

* The identifier is one assigned by Authlete's {@code /vci/offer/create} * API. The value is a base64url string with 256-bit entropy consisting of * 43 characters. *

* *

* This property is mandatory. *

* * @return * The identifier of the credential offer. */ public String getIdentifier() { return identifier; } /** * Set the identifier of the credential offer. * *

* The identifier is one assigned by Authlete's {@code /vci/offer/create} * API. The value is a base64url string with 256-bit entropy consisting of * 43 characters. *

* *

* This property is mandatory. *

* * @param identifier * The identifier of the credential offer. * * @return * {@code this} object. */ public CredentialOfferInfoRequest setIdentifier(String identifier) { this.identifier = identifier; return this; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy