MicrosoftAppCredentials Classe

public class MicrosoftAppCredentials
extends AppCredentials

Implémentation et cache d’authentification MicrosoftAppCredentials.

Récapitulatif du champ

Modificateur et type Champ et description
static final java.lang.String MICROSOFTAPPID

Propriété de configuration du mot de passe de l’application Microsoft.

static final java.lang.String MICROSOFTAPPPASSWORD

Propriété de configuration de l’ID d’application Microsoft.

Récapitulatif du constructeur

Constructeur Description
MicrosoftAppCredentials(String withAppId, String withAppPassword)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

Résumé de la méthode

Modificateur et type Méthode et description
protected Authenticator buildAuthenticator()

Retourne un authentificateur d’informations d’identification.

static MicrosoftAppCredentials empty()

Retourne un ensemble vide d’informations d’identification.

java.lang.String getAppPassword()

Obtient le mot de passe de l’application pour ces informations d’identification.

void setAppPassword(String withAppPassword)

Définit le mot de passe de l’application pour ces informations d’identification.

Méthodes héritées de AppCredentials

Méthodes héritées de 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

Détails du champ

MICROSOFTAPPID

public static final String MICROSOFTAPPID

Propriété de configuration du mot de passe de l’application Microsoft.

MICROSOFTAPPPASSWORD

public static final String MICROSOFTAPPPASSWORD

Propriété de configuration de l’ID d’application Microsoft.

Détails du constructeur

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

Paramètres:

withAppId - ID d’application Microsoft.
withAppPassword - Mot de passe de l’application Microsoft.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

Paramètres:

withAppId - ID d’application Microsoft.
withAppPassword - Mot de passe de l’application Microsoft.
withChannelAuthTenant - Optionnel. Locataire de jeton oauth.

MicrosoftAppCredentials

public MicrosoftAppCredentials(String withAppId, String withAppPassword, String withChannelAuthTenant, String withOAuthScope)

Initialise une nouvelle instance de la classe MicrosoftAppCredentials.

Paramètres:

withAppId - ID d’application Microsoft.
withAppPassword - Mot de passe de l’application Microsoft.
withChannelAuthTenant - Optionnel. Locataire de jeton oauth.
withOAuthScope - Étendue du jeton.

Détails de la méthode

buildAuthenticator

protected Authenticator buildAuthenticator()

Retourne un authentificateur d’informations d’identification.

Remplacements:

MicrosoftAppCredentials.buildAuthenticator()

Retours:

A CredentialsAuthenticator.

Exception:

java.net.MalformedURLException - URL de point de terminaison non valide.

empty

public static MicrosoftAppCredentials empty()

Retourne un ensemble vide d’informations d’identification.

Retours:

Ensemble vide de MicrosoftAppCredentials.

getAppPassword

public String getAppPassword()

Obtient le mot de passe de l’application pour ces informations d’identification.

Retours:

Mot de passe de l’application.

setAppPassword

public void setAppPassword(String withAppPassword)

Définit le mot de passe de l’application pour ces informations d’identification.

Paramètres:

withAppPassword - Mot de passe de l’application.

S’applique à