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

com.aliyun.sdk.service.apig20240327.models.JwtIdentityConfig Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.apig20240327.models;

import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link JwtIdentityConfig} extends {@link TeaModel}
 *
 * 

JwtIdentityConfig

*/ public class JwtIdentityConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("jwks") private String jwks; @com.aliyun.core.annotation.NameInMap("jwtPayloadConfig") private JwtPayloadConfig jwtPayloadConfig; @com.aliyun.core.annotation.NameInMap("jwtTokenConfig") private JwtTokenConfig jwtTokenConfig; @com.aliyun.core.annotation.NameInMap("secretType") private String secretType; @com.aliyun.core.annotation.NameInMap("type") private String type; private JwtIdentityConfig(Builder builder) { this.jwks = builder.jwks; this.jwtPayloadConfig = builder.jwtPayloadConfig; this.jwtTokenConfig = builder.jwtTokenConfig; this.secretType = builder.secretType; this.type = builder.type; } public static Builder builder() { return new Builder(); } public static JwtIdentityConfig create() { return builder().build(); } /** * @return jwks */ public String getJwks() { return this.jwks; } /** * @return jwtPayloadConfig */ public JwtPayloadConfig getJwtPayloadConfig() { return this.jwtPayloadConfig; } /** * @return jwtTokenConfig */ public JwtTokenConfig getJwtTokenConfig() { return this.jwtTokenConfig; } /** * @return secretType */ public String getSecretType() { return this.secretType; } /** * @return type */ public String getType() { return this.type; } public static final class Builder { private String jwks; private JwtPayloadConfig jwtPayloadConfig; private JwtTokenConfig jwtTokenConfig; private String secretType; private String type; /** * jwks. */ public Builder jwks(String jwks) { this.jwks = jwks; return this; } /** * jwtPayloadConfig. */ public Builder jwtPayloadConfig(JwtPayloadConfig jwtPayloadConfig) { this.jwtPayloadConfig = jwtPayloadConfig; return this; } /** * jwtTokenConfig. */ public Builder jwtTokenConfig(JwtTokenConfig jwtTokenConfig) { this.jwtTokenConfig = jwtTokenConfig; return this; } /** * secretType. */ public Builder secretType(String secretType) { this.secretType = secretType; return this; } /** * type. */ public Builder type(String type) { this.type = type; return this; } public JwtIdentityConfig build() { return new JwtIdentityConfig(this); } } /** * * {@link JwtIdentityConfig} extends {@link TeaModel} * *

JwtIdentityConfig

*/ public static class JwtPayloadConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("payloadKeyName") private String payloadKeyName; @com.aliyun.core.annotation.NameInMap("payloadKeyValue") private String payloadKeyValue; private JwtPayloadConfig(Builder builder) { this.payloadKeyName = builder.payloadKeyName; this.payloadKeyValue = builder.payloadKeyValue; } public static Builder builder() { return new Builder(); } public static JwtPayloadConfig create() { return builder().build(); } /** * @return payloadKeyName */ public String getPayloadKeyName() { return this.payloadKeyName; } /** * @return payloadKeyValue */ public String getPayloadKeyValue() { return this.payloadKeyValue; } public static final class Builder { private String payloadKeyName; private String payloadKeyValue; /** * payloadKeyName. */ public Builder payloadKeyName(String payloadKeyName) { this.payloadKeyName = payloadKeyName; return this; } /** * payloadKeyValue. */ public Builder payloadKeyValue(String payloadKeyValue) { this.payloadKeyValue = payloadKeyValue; return this; } public JwtPayloadConfig build() { return new JwtPayloadConfig(this); } } } /** * * {@link JwtIdentityConfig} extends {@link TeaModel} * *

JwtIdentityConfig

*/ public static class JwtTokenConfig extends TeaModel { @com.aliyun.core.annotation.NameInMap("key") private String key; @com.aliyun.core.annotation.NameInMap("pass") private Boolean pass; @com.aliyun.core.annotation.NameInMap("position") private String position; @com.aliyun.core.annotation.NameInMap("prefix") private String prefix; private JwtTokenConfig(Builder builder) { this.key = builder.key; this.pass = builder.pass; this.position = builder.position; this.prefix = builder.prefix; } public static Builder builder() { return new Builder(); } public static JwtTokenConfig create() { return builder().build(); } /** * @return key */ public String getKey() { return this.key; } /** * @return pass */ public Boolean getPass() { return this.pass; } /** * @return position */ public String getPosition() { return this.position; } /** * @return prefix */ public String getPrefix() { return this.prefix; } public static final class Builder { private String key; private Boolean pass; private String position; private String prefix; /** * key. */ public Builder key(String key) { this.key = key; return this; } /** * pass. */ public Builder pass(Boolean pass) { this.pass = pass; return this; } /** * position. */ public Builder position(String position) { this.position = position; return this; } /** * prefix. */ public Builder prefix(String prefix) { this.prefix = prefix; return this; } public JwtTokenConfig build() { return new JwtTokenConfig(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy