botframework-connector package
Kelas
| AppCredentials |
Implementasi dan cache autentikasi AppCredentials umum. Mendukung alur kredensial klien ADAL apa pun. Subkelas dapat mengimplementasikan refreshToken untuk memperoleh token. |
| AuthenticationConfiguration |
Pengaturan konfigurasi umum untuk autentikasi. |
| AuthenticationError |
Kelas |
| BotFrameworkAuthentication |
Mewakili Lingkungan Cloud yang digunakan untuk mengautentikasi panggilan jaringan Protokol Kerangka Kerja Bot dalam lingkungan ini. |
| BotFrameworkAuthenticationFactory |
Pabrik untuk BotFrameworkAuthentication yang merangkum kode autentikasi Protokol Kerangka Kerja Bot spesifik lingkungan. |
| BotFrameworkClientImpl | |
| CertificateAppCredentials |
Implementasi autentikasi CertificateAppCredentials |
| ClaimsIdentity |
Mewakili identitas berbasis klaim. |
| ConnectorFactory |
Kelas pabrik yang digunakan untuk membuat ConnectorClients dengan kredensial yang sesuai untuk appId saat ini. |
| ConnectorFactoryImpl | |
| SimpleCredentialProvider | |
| EndorsementsValidator |
Berisi metode pembantu untuk memverifikasi dukungan JWT. |
| JwtTokenExtractor |
Kelas pemrosesan token JWT yang mendapatkan informasi identitas dan melakukan validasi token keamanan. |
| JwtTokenProviderFactory | |
| ManagedIdentityAppCredentials |
Implementasi autentikasi Identitas Layanan Terkelola. |
| ManagedIdentityAuthenticator |
Abstraksi untuk memperoleh token dari Identitas Layanan Terkelola. |
| ManagedIdentityServiceClientCredentialsFactory |
Implementasi Identitas Terkelola dari kelas abstrak ServiceClientCredentialsFactory. |
| MicrosoftAppCredentials |
Implementasi autentikasi MicrosoftAppCredentials |
| OpenIdMetadata |
Kelas yang bertanggung jawab untuk mengelola metadata OpenId. |
| ParameterizedBotFrameworkAuthentication | |
| PasswordServiceClientCredentialFactory |
Implementasi sederhana antarmuka ServiceClientCredentialsFactory. |
| ServiceClientCredentialsFactory |
Kelas abstrak ServiceClientCredentialsFactory yang memungkinkan Bot menyediakan ServiceClientCredentials mereka sendiri untuk bot ke saluran bot atau bot keterampilan ke panggilan bot induk. |
| UserTokenClient |
Klien untuk mengakses layanan token pengguna. |
| UserTokenClientImpl | |
| ConnectorClient | |
| ConnectorClientContext | |
| Attachments |
Kelas yang mewakili Lampiran. |
| Conversations |
Kelas yang mewakili Percakapan. |
| EmulatorApiClient |
Tujuan dari kelas ini adalah untuk meniru klien api. |
| Teams |
Kelas yang mewakili Teams. |
| ReadReceiptInfo |
Informasi umum tentang tanda terima baca. |
| TeamsConnectorClient | |
| TeamsConnectorClientContext |
Ekstensi REST API Konektor Bot untuk Microsoft Teams memungkinkan bot Anda melakukan operasi yang diperluas pada saluran Microsoft Teams yang dikonfigurasi di Portal Pengembang Kerangka Kerja Bot . Layanan Konektor menggunakan REST dan JSON standar industri melalui HTTPS. |
| BotSignIn |
Kelas yang mewakili BotSignIn. |
| UserToken |
Kelas yang mewakili UserToken. |
| TokenApiClient | |
| TokenApiClientContext | |
Antarmuka
Alias Jenis
| AuthenticateRequestResult |
Hasil dari panggilan untuk mengautentikasi permintaan Protokol Kerangka Kerja Bot. |
| ValidateClaims |
Digunakan untuk memvalidasi daftar Klaim dan harus melemparkan pengecualian jika validasi gagal. |
| StatusCode | |
| AttachmentsGetAttachmentInfoResponse |
Berisi data respons untuk operasi getAttachmentInfo. |
| AttachmentsGetAttachmentResponse |
Berisi data respons untuk operasi getAttachment. |
| ConversationsCreateConversationResponse |
Berisi data respons untuk operasi createConversation. |
| ConversationsGetActivityMembersResponse |
Berisi data respons untuk operasi getActivityMembers. |
| ConversationsGetConversationMemberResponse |
Berisi data respons untuk operasi getConversationMember. |
| ConversationsGetConversationMembersResponse |
Berisi data respons untuk operasi getConversationMembers. |
| ConversationsGetConversationPagedMembersResponse |
Berisi data respons untuk operasi getConversationPagedMembers. |
| ConversationsGetConversationsResponse |
Berisi data respons untuk operasi getConversations. |
| ConversationsReplyToActivityResponse |
Berisi data respons untuk operasi replyToActivity. |
| ConversationsSendConversationHistoryResponse |
Berisi data respons untuk operasi sendConversationHistory. |
| ConversationsSendToConversationResponse |
Berisi data respons untuk operasi sendToConversation. |
| ConversationsUpdateActivityResponse |
Berisi data respons untuk operasi updateActivity. |
| ConversationsUploadAttachmentResponse |
Berisi data respons untuk operasi uploadAttachment. |
| TeamsFetchChannelListResponse |
Berisi data respons untuk operasi fetchChannelList. |
| TeamsFetchMeetingParticipantResponse |
Berisi data respons untuk operasi fetchMeetingParticipant. |
| TeamsFetchTeamDetailsResponse |
Berisi data respons untuk operasi fetchTeamDetails. |
| TeamsMeetingInfoResponse |
Berisi data respons untuk operasi fetchMeetingInfo. |
| BotSignInGetSignInResourceResponse |
Berisi data respons untuk operasi getSignInResource. |
| BotSignInGetSignInUrlResponse |
Berisi data respons untuk operasi getSignInUrl. |
| UserTokenExchangeAsyncResponse |
Berisi data respons untuk operasi exchangeAsync. |
| UserTokenGetAadTokensResponse |
Berisi data respons untuk operasi getAadTokens. |
| UserTokenGetTokenResponse |
Berisi data respons untuk operasi getToken. |
| UserTokenGetTokenStatusResponse |
Berisi data respons untuk operasi getTokenStatus. |
| UserTokenSignOutResponse |
Berisi data respons untuk operasi signOut. |
Fungsi
| allowed |
Membuat validator klaim penelepon yang diizinkan |
Detail Fungsi
allowedCallersClaimsValidator(string[])
Membuat validator klaim penelepon yang diizinkan
function allowedCallersClaimsValidator(allowedCallers: string[]): ValidateClaims
Parameter
- allowedCallers
-
string[]
pemanggil keterampilan yang diizinkan
Mengembalikan
fungsi validator klaim