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)

為標記請求新增參數

IntegratedWindowsAuthenticationParametersBuilder scopes(@NonNull Set<String> scopes)

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

IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

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

java.lang.String toString()
IntegratedWindowsAuthenticationParametersBuilder username(@NonNull 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

傳回:

this

extraHttpHeaders

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

為令牌請求新增額外標頭

參數:

extraHttpHeaders

傳回:

this

extraQueryParameters

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

為標記請求新增參數

參數:

extraQueryParameters

傳回:

this

scopes

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

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

參數:

scopes

傳回:

this

tenant

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

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

參數:

tenant

傳回:

this

toString

public String toString()

覆寫:

IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder.toString()

username

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder username(@NonNull String username)

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

參數:

username

傳回:

this

適用於