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

io.polyglotted.spring.cognito.AbstractCognito Maven / Gradle / Ivy

package io.polyglotted.spring.cognito;

import com.amazonaws.services.cognitoidp.AWSCognitoIdentityProvider;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

@RequiredArgsConstructor
public abstract class AbstractCognito {
    protected final CognitoConfig config;
    protected final AWSCognitoIdentityProvider cognitoClient;

    @NoArgsConstructor @Getter @Setter @Accessors(chain = true)
    public static class CognitoConfig {
        private String userPoolId;
        private String clientId;
        private String clientSecret;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy