OAuthConfiguration Class
- java.
lang. Object - com.
microsoft. bot. connector. authentication. OAuthConfiguration
- com.
public class OAuthConfiguration
Configuration for OAuth client credential authentication.
Constructor Summary
| Constructor | Description |
|---|---|
| OAuthConfiguration(String withAuthority, String withScope) |
Construct with authority and scope. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getAuthority()
Gets o |
| java.lang.String |
getScope()
Gets o |
| void |
setAuthority(String withAuthority)
Sets o |
| void |
setScope(String withScope)
Sets o |
Methods inherited from java.lang.Object
Constructor Details
OAuthConfiguration
public OAuthConfiguration(String withAuthority, String withScope)
Construct with authority and scope.
Parameters:
Method Details
getAuthority
public String getAuthority()
Gets oAuth Authority for authentication.
Returns:
getScope
public String getScope()
Gets oAuth scope for authentication.
Returns:
setAuthority
public void setAuthority(String withAuthority)
Sets oAuth Authority for authentication.
Parameters:
setScope
public void setScope(String withScope)
Sets oAuth scope for authentication.
Parameters: