export interface OauthRegistration { oAuthConfigId?: string; /** * Max 128 characters */ description?: string; clientId: string; clientSecret: string; authorizationEndpoint?: string; tokenExchangeEndpoint?: string; tokenRefreshEndpoint?: string; scopes: string[]; /** * Teams app Id associated with the OauthRegistration, should be required if applicableToApps === "SpecificType" */ m365AppId?: string; applicableToApps: OauthRegistrationAppType; /** * Default to be "HomeTenant" */ targetAudience?: OauthRegistrationTargetAudience; manageableByUsers?: OauthRegistrationUser[]; /** * Currently max length 1 */ targetUrlsShouldStartWith: string[]; isPKCEEnabled?: boolean; identityProvider?: string; /** * Token exchange method type, can be BasicAuthorizationHeader or PostRequestBody * BasicAuthorizationHeader denoting that the token exchange is done via HTTP headers * PostRequestBody denoting that the token exchange is done via sending it in request body */ tokenExchangeMethodType?: TokenExchangeMethodType; /** * Whether SSO is enabled. Must be true for MicrosoftEntra identity provider. */ useSingleSignOn?: boolean; } export declare enum TokenExchangeMethodType { BasicAuthorizationHeader = "BasicAuthorizationHeader", PostRequestBody = "PostRequestBody" } export declare enum OauthRegistrationAppType { SpecificApp = "SpecificApp", AnyApp = "AnyApp" } export declare enum OauthRegistrationTargetAudience { HomeTenant = "HomeTenant", AnyTenant = "AnyTenant" } export interface OauthRegistrationUser { userId: string; accessType: OauthRegistrationUserAccessType; } export declare enum OauthRegistrationUserAccessType { Read = "Read", ReadWrite = "ReadWrite" } //# sourceMappingURL=OauthRegistration.d.ts.map