io.polyglotted.spring.cognito.CognitoConfig Maven / Gradle / Ivy
package io.polyglotted.spring.cognito;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;
@NoArgsConstructor @Getter @Setter @Accessors(chain = true)
public class CognitoConfig {
private boolean enabled = true;
private String userPoolId;
private String clientId;
private String clientSecret;
boolean disabled() { return !isEnabled(); }
}