MicrosoftGovernmentAppCredentials Class
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftGovernmentAppCredentials
- com.
- com.
- com.
public class MicrosoftGovernmentAppCredentials
extends MicrosoftAppCredentials
MicrosoftGovernmentAppCredentials auth implementation.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGovernmentAppCredentials(String appId, String password) |
Initializes a new instance of the Microsoft |
| MicrosoftGovernmentAppCredentials(String appId, String password, String oAuthScope) |
Initializes a new instance of the Microsoft |
| MicrosoftGovernmentAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
Initializes a new instance of the Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Microsoft |
empty()
An empty set of credentials. |
| java.lang.String |
oAuthEndpoint()
Gets the Gov OAuth endpoint to use. |
Methods inherited from AppCredentials
Methods inherited from MicrosoftAppCredentials
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String appId, String password)
Initializes a new instance of the MicrosoftGovernmentAppCredentials class.
Parameters:
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String appId, String password, String oAuthScope)
Initializes a new instance of the MicrosoftGovernmentAppCredentials class.
Parameters:
MicrosoftGovernmentAppCredentials
public MicrosoftGovernmentAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
Initializes a new instance of the MicrosoftGovernmentAppCredentials class.
Parameters:
Method Details
empty
public static MicrosoftGovernmentAppCredentials empty()
An empty set of credentials.
Returns:
oAuthEndpoint
public String oAuthEndpoint()
Gets the Gov OAuth endpoint to use.
Overrides:
MicrosoftGovernmentAppCredentials.oAuthEndpoint()Returns: