SimpleChannelProvider Class
- java.
lang. Object - com.
microsoft. bot. connector. authentication. SimpleChannelProvider
- com.
Implements
public class SimpleChannelProvider
implements ChannelProvider
A ChannelProvider with in-memory values.
Constructor Summary
| Constructor | Description |
|---|---|
| SimpleChannelProvider() |
Creates a Simple |
| SimpleChannelProvider(String withChannelService) |
Creates a Simple |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.concurrent.CompletableFuture<java.lang.String> |
getChannelService()
Returns the channel service value. |
| boolean |
isGovernment()
Indicates whether this is a Gov channel provider. |
| boolean |
isPublicAzure()
Indicates whether this is public Azure. |
Methods inherited from java.lang.Object
Constructor Details
SimpleChannelProvider
public SimpleChannelProvider()
Creates a SimpleChannelProvider with no ChannelService which will use Public Azure.
SimpleChannelProvider
public SimpleChannelProvider(String withChannelService)
Creates a SimpleChannelProvider with the specified ChannelService.
Parameters:
Method Details
getChannelService
public CompletableFuture
Returns the channel service value.
Returns:
isGovernment
public boolean isGovernment()
Indicates whether this is a Gov channel provider.
Returns:
isPublicAzure
public boolean isPublicAzure()
Indicates whether this is public Azure.
Returns: