io.mosip.pms.oauth.client.dto.ClientDetailCreateRequestV2 Maven / Gradle / Ivy
The newest version!
package io.mosip.pms.oauth.client.dto;
import java.util.List;
import java.util.Map;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientDetailCreateRequestV2 extends ClientDetailCreateRequest{
@NotEmpty
private Map<@Size(min=3, max=3) String, @NotBlank String> clientNameLangMap;
public ClientDetailCreateRequestV2(String name, String policyId, Map publicKey, String authPartnerId,
String logoUri, List redirectUris, List grantTypes, List clientAuthMethods,
Map clientNameLangMap) {
super(name, policyId, publicKey, authPartnerId, logoUri, redirectUris,
grantTypes, clientAuthMethods);
this.clientNameLangMap = clientNameLangMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy