IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder Třída

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

public static class IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder

Souhrn metod

Modifikátor a typ Metoda a popis
IntegratedWindowsAuthenticationParameters build()
IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

Deklarace identity, které se mají požadovat prostřednictvím parametru požadavku deklarací identity OIDC, což umožňuje požadavky na standardní a vlastní deklarace identity

IntegratedWindowsAuthenticationParametersBuilder extraHttpHeaders(Map<String,String> extraHttpHeaders)

Přidá do žádosti o token další hlavičky.

IntegratedWindowsAuthenticationParametersBuilder extraQueryParameters(Map<String,String> extraQueryParameters)

Zastaralé

Nedoporučuje se pro produkční scénáře. V budoucí verzi se odebere a chování může být nahrazeno novým rozhraním API.

Přidá do požadavku tokenu další parametry.

IntegratedWindowsAuthenticationParametersBuilder scopes(Set<String> scopes)

Obory, ke kterým aplikace žádá o přístup

IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

Přepíše hodnotu tenanta v adrese URL autority pro tento požadavek.

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

Identifikátor uživatelského účtu, pro který se mají získat tokeny pro

Metody zděděné od 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

Podrobnosti metody

build

public IntegratedWindowsAuthenticationParameters build()

claims

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder claims(ClaimsRequest claims)

Deklarace identity, které se mají požadovat prostřednictvím parametru požadavku deklarací identity OIDC, což umožňuje požadavky na standardní a vlastní deklarace identity

Parametry:

claims

extraHttpHeaders

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

Přidá do žádosti o token další hlavičky.

Parametry:

extraHttpHeaders

extraQueryParameters


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

Zastaralé

Nedoporučuje se pro produkční scénáře. V budoucí verzi se odebere a chování může být nahrazeno novým rozhraním API.

Přidá do požadavku tokenu další parametry.

Parametry:

extraQueryParameters

scopes

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

Obory, ke kterým aplikace žádá o přístup

Parametry:

scopes

tenant

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder tenant(String tenant)

Přepíše hodnotu tenanta v adrese URL autority pro tento požadavek.

Parametry:

tenant

toString

public String toString()

Přepsání:

IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder.toString()

username

public IntegratedWindowsAuthenticationParameters.IntegratedWindowsAuthenticationParametersBuilder username(String username)

Identifikátor uživatelského účtu, pro který se mají získat tokeny pro

Parametry:

username

Platí pro