IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder 類別

  • java.lang.Object
    • com.microsoft.aad.msal4j.IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder

public static class IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder

方法摘要

修飾詞與類型 方法與描述
IntegratedWindowsAuthenticationParameters build()
IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

透過 OIDC 理賠請求參數請求理賠,允許標準與自訂理賠的請求

IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)

為令牌請求新增額外標頭

IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)

已被取代

不建議用於生產場景。 未來版本會移除此行為,並可能由新的 API 取代。

為標記請求新增參數

IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)

應用程式請求存取權限的範圍

IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

覆蓋此請求權限網址中的租戶值

java.lang.String toString()
IntegratedWindowsAuthenticationParametersBuilder username(String username)

用於取得代幣的使用者帳號識別碼

方法繼承來源 java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

方法詳細資料

build

public IntegratedWindowsAuthenticationParameters build()

claims

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

透過 OIDC 理賠請求參數請求理賠,允許標準與自訂理賠的請求

參數:

claims

extraHttpHeaders

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)

為令牌請求新增額外標頭

參數:

extraHttpHeaders

extraQueryParameters


public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)

已被取代

不建議用於生產場景。 未來版本會移除此行為,並可能由新的 API 取代。

為標記請求新增參數

參數:

extraQueryParameters

scopes

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)

應用程式請求存取權限的範圍

參數:

scopes

tenant

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

覆蓋此請求權限網址中的租戶值

參數:

tenant

toString

public String toString()

覆寫:

IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder.toString()

username

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder username(String username)

用於取得代幣的使用者帳號識別碼

參數:

username

適用於