共用方式為


AuthOptions interface

屬性

clientId

要驗證的 Azure AD 應用程式註冊標識碼。

environment

要用於驗證的環境。 預設為 Environment.AzureCloud。

popUp

將此設定為 true,以在彈出視窗中啟用登入,而不是完整重新導向。 預設為 false

redirectUri

透過重新導向取得令牌之後要傳回的位置。 默認為 window.location.href。

resource

要驗證的資源。 預設為 environment.resourceManagerEndpointUrl。

tenant

要驗證的租使用者。 默認值為 「common」。。

屬性詳細資料

clientId

要驗證的 Azure AD 應用程式註冊標識碼。

clientId: string

屬性值

string

environment

要用於驗證的環境。 預設為 Environment.AzureCloud。

environment?: Environment

屬性值

popUp

將此設定為 true,以在彈出視窗中啟用登入,而不是完整重新導向。 預設為 false

popUp?: boolean

屬性值

boolean

redirectUri

透過重新導向取得令牌之後要傳回的位置。 默認為 window.location.href。

redirectUri?: string

屬性值

string

resource

要驗證的資源。 預設為 environment.resourceManagerEndpointUrl。

resource?: string

屬性值

string

tenant

要驗證的租使用者。 默認值為 「common」。。

tenant?: string

屬性值

string