MicrosoftAppCredentials 클래스
- java.
lang. Object - com.
microsoft. bot. connector. authentication. AppCredentials - com.
microsoft. bot. connector. authentication. MicrosoftAppCredentials
- com.
- com.
public class MicrosoftAppCredentials
extends AppCredentials
MicrosoftAppCredentials 인증 구현 및 캐시.
필드 요약
| 한정자 및 형식 | 필드 및 설명 |
|---|---|
| static final java.lang.String |
MICROSOFTAPPID
Microsoft 앱 암호의 구성 속성입니다. |
| static final java.lang.String |
MICROSOFTAPPPASSWORD
Microsoft 앱 ID의 구성 속성입니다. |
생성자 요약
| 생성자 | Description |
|---|---|
| MicrosoftAppCredentials(String withAppId, String withAppPassword) |
Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant) |
Microsoft |
| MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope) |
Microsoft |
메서드 요약
| 한정자 및 형식 | 메서드 및 설명 |
|---|---|
| protected Authenticator |
buildAuthenticator()
자격 증명 Authenticator를 반환합니다. |
|
static
Microsoft |
empty()
빈 자격 증명 집합을 반환합니다. |
| java.lang.String |
getAppPassword()
이 자격 증명의 앱 암호를 가져옵니다. |
| void |
setAppPassword(String withAppPassword)
이 자격 증명의 앱 암호를 설정합니다. |
다음에서 상속된 메서드 AppCredentials
다음에서 상속된 메서드 java.lang.Object
필드 세부 정보
MICROSOFTAPPID
public static final String MICROSOFTAPPID
Microsoft 앱 암호의 구성 속성입니다.
MICROSOFTAPPPASSWORD
public static final String MICROSOFTAPPPASSWORD
Microsoft 앱 ID의 구성 속성입니다.
생성자 세부 정보
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword)
MicrosoftAppCredentials 클래스의 새 인스턴스를 초기화합니다.
매개 변수:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)
MicrosoftAppCredentials 클래스의 새 인스턴스를 초기화합니다.
매개 변수:
MicrosoftAppCredentials
public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)
MicrosoftAppCredentials 클래스의 새 인스턴스를 초기화합니다.
매개 변수:
메서드 세부 정보
buildAuthenticator
protected Authenticator buildAuthenticator()
자격 증명 Authenticator를 반환합니다.
재정의:
MicrosoftAppCredentials.buildAuthenticator()반환:
Throw:
empty
public static MicrosoftAppCredentials empty()
빈 자격 증명 집합을 반환합니다.
반환:
getAppPassword
public String getAppPassword()
이 자격 증명의 앱 암호를 가져옵니다.
반환:
setAppPassword
public void setAppPassword(String withAppPassword)
이 자격 증명의 앱 암호를 설정합니다.
매개 변수: