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

io.hanko.sdk.webauthn.api.CredentialUpdateRequest Maven / Gradle / Ivy

The newest version!
package io.hanko.sdk.webauthn.api;

import com.fasterxml.jackson.annotation.JsonCreator;

/**
 * Request for updating a credential.
 */
public class CredentialUpdateRequest {
    private String name;

    /**
     * Construct a CredentialUpdateRequest.
     */
    public CredentialUpdateRequest() {
    }

    /**
     * Construct a CredentialUpdateRequest.
     * @param name the new name for a credential
     */
    @JsonCreator
    public CredentialUpdateRequest(String name) {
        this.name = name;
    }

    /**
     * Get the name.
     * @return the name as a String
     */
    public String getName() {
        return name;
    }

    /**
     * Set the name.
     * @param name the name as a String
     */
    public void setName(String name) {
        this.name = name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy