software.amazon.awscdk.services.cognito.identitypool.IUserPoolAuthenticationProvider Maven / Gradle / Ivy
Show all versions of cognito-identitypool Show documentation
package software.amazon.awscdk.services.cognito.identitypool;
/**
* (experimental) Represents the concept of a User Pool Authentication Provider.
*
* You use user pool authentication providers to configure User Pools
* and User Pool Clients for use with Identity Pools
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.52.1 (build 5ccc8f6)", date = "2022-01-27T11:49:00.780Z")
@software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.cognito.identitypool.$Module.class, fqn = "@aws-cdk/aws-cognito-identitypool.IUserPoolAuthenticationProvider")
@software.amazon.jsii.Jsii.Proxy(IUserPoolAuthenticationProvider.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IUserPoolAuthenticationProvider extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
*
* @param scope This parameter is required.
* @param identityPool This parameter is required.
* @param options
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.IIdentityPool identityPool, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindOptions options);
/**
* (experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
*
* @param scope This parameter is required.
* @param identityPool This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.IIdentityPool identityPool);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.cognito.identitypool.IUserPoolAuthenticationProvider.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
*
* @param scope This parameter is required.
* @param identityPool This parameter is required.
* @param options
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.IIdentityPool identityPool, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindOptions options) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(identityPool, "identityPool is required"), options });
}
/**
* (experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
*
* @param scope This parameter is required.
* @param identityPool This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.IIdentityPool identityPool) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(identityPool, "identityPool is required") });
}
}
/**
* Internal default implementation for {@link IUserPoolAuthenticationProvider}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IUserPoolAuthenticationProvider {
/**
* (experimental) The method called when a given User Pool Authentication Provider is added (for the first time) to an Identity Pool.
*
* @param scope This parameter is required.
* @param identityPool This parameter is required.
* @param options
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig bind(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.cognito.identitypool.IIdentityPool identityPool, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindOptions options) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.cognito.identitypool.UserPoolAuthenticationProviderBindConfig.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(identityPool, "identityPool is required"), options });
}
}
}