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

io.camunda.connector.email.authentication.SimpleAuthentication Maven / Gradle / Ivy

The newest version!
/*
 * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
 * under one or more contributor license agreements. Licensed under a proprietary license.
 * See the License.txt file for more information. You may not use this file
 * except in compliance with the proprietary license.
 */
package io.camunda.connector.email.authentication;

import io.camunda.connector.generator.dsl.Property;
import io.camunda.connector.generator.java.annotation.TemplateProperty;
import io.camunda.connector.generator.java.annotation.TemplateSubType;
import jakarta.validation.constraints.NotBlank;

@TemplateSubType(id = "simple", label = "Simple")
public record SimpleAuthentication(
    @TemplateProperty(
            group = "authentication",
            label = "Username",
            tooltip =
                "Enter your full email address (e.g., [email protected]) or the username provided by your email service. This is used to authenticate your access to the mail server.",
            id = "simpleAuthenticationUsername")
        @NotBlank
        String username,
    @TemplateProperty(
            group = "authentication",
            label = "Email password",
            feel = Property.FeelMode.disabled,
            tooltip =
                "Enter the password associated with your email account. Keep your password secure and do not share it with others.",
            id = "simpleAuthenticationPassword")
        @NotBlank
        String password)
    implements Authentication {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy