CertificateAppCredentialsOptions Clase

  • java.lang.Object
    • com.microsoft.bot.connector.authentication.CertificateAppCredentialsOptions

public class CertificateAppCredentialsOptions

Opciones de CertificateAppCredentials.

Resumen del constructor

Constructor Description
CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

Inicializa certificateAppCredentialsOptions con los argumentos necesarios.

CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)

Inicializa las opcionescredenciales deAppApp.

Resumen del método

Modificador y tipo Método y descripción
java.lang.String getAppId()

Obtiene el id. de aplicación de Microsfot.

java.lang.String getChannelAuthTenant()

Obtiene el inquilino de autenticación de canal.

java.io.InputStream getPkcs12Certificate()

Obtiene elde entrada Stream al certificado PKCS12.

java.lang.String getPkcs12Password()

Obtiene la contraseña pkcs12 certiciate.

boolean getSendX5c()

Obtiene si la notificación x5c (clave pública del certificado) debe enviarse al STS.

java.lang.String getoAuthScope()

Obtiene el ámbito de OAuth.

void setAppId(String withAppId)

Establece el id. de aplicación de Microsfot.

void setChannelAuthTenant(String withChannelAuthTenant)

Establece el inquilino de autenticación de canal.

void setPkcs12Certificate(InputStream withPkcs12Certificate)

Establece elDe entrada en el certificado PKCS12.

void setPkcs12Password(String withPkcs12Password)

Establece la contraseña de certificado pkcs12.

void setSendX5c(boolean withSendX5c)

Establece si la notificación x5c (clave pública del certificado) se debe enviar al STS.

void setoAuthScope(String withOAuthScope)

Establece el ámbito de OAuth.

Métodos heredados 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

Detalles del constructor

CertificateAppCredentialsOptions

public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password)

Inicializa CertificateAppCredentialsOptions con los argumentos necesarios.

Parámetros:

withAppId - Identificador de la aplicación de Microsoft.
withPkcs12Certificate - InputStream al certificado pkcs.
withPkcs12Password - Contraseña del certificado pkcs.

CertificateAppCredentialsOptions

public CertificateAppCredentialsOptions(String withAppId, InputStream withPkcs12Certificate, String withPkcs12Password, String withChannelAuthTenant, String withOAuthScope, boolean withSendX5c)

Inicializa CertificateAppCredentialsOptions.

Parámetros:

withAppId - Identificador de la aplicación de Microsoft.
withPkcs12Certificate - InputStream al certificado pkcs.
withPkcs12Password - Contraseña del certificado pkcs.
withChannelAuthTenant - Opcional. El inquilino del token de oauth.
withOAuthScope - Opcional. Ámbito del token.
withSendX5c - Especifica si la notificación x5c (clave pública del certificado) se debe enviar al STS.

Detalles del método

getAppId

public String getAppId()

Obtiene el AppId de Microsfot.

Devoluciones:

Identificador de la aplicación.

getChannelAuthTenant

public String getChannelAuthTenant()

Obtiene el inquilino de autenticación de canal.

Devoluciones:

Inquilino de autenticación del canal de OAuth.

getPkcs12Certificate

public InputStream getPkcs12Certificate()

Obtiene inputStream al certificado PKCS12.

Devoluciones:

InputStream para el certificado.

getPkcs12Password

public String getPkcs12Password()

Obtiene la contraseña pkcs12 certiciate.

Devoluciones:

Contraseña del certificado.

getSendX5c

public boolean getSendX5c()

Obtiene si la notificación x5c (clave pública del certificado) debe enviarse al STS.

Devoluciones:

true para enviar x5c.

getoAuthScope

public String getoAuthScope()

Obtiene el ámbito de OAuth.

Devoluciones:

The OAuthScope.

setAppId

public void setAppId(String withAppId)

Establece el AppId de Microsfot.

Parámetros:

withAppId - Identificador de la aplicación.

setChannelAuthTenant

public void setChannelAuthTenant(String withChannelAuthTenant)

Establece el inquilino de autenticación de canal.

Parámetros:

withChannelAuthTenant - Inquilino de autenticación del canal de OAuth.

setPkcs12Certificate

public void setPkcs12Certificate(InputStream withPkcs12Certificate)

Establece InputStream en el certificado PKCS12.

Parámetros:

withPkcs12Certificate - InputStream para el certificado.

setPkcs12Password

public void setPkcs12Password(String withPkcs12Password)

Establece la contraseña de certificado pkcs12.

Parámetros:

withPkcs12Password - Contraseña del certificado.

setSendX5c

public void setSendX5c(boolean withSendX5c)

Establece si la notificación x5c (clave pública del certificado) se debe enviar al STS.

Parámetros:

withSendX5c - true para enviar x5c.

setoAuthScope

public void setoAuthScope(String withOAuthScope)

Establece el ámbito de OAuth.

Parámetros:

withOAuthScope - The OAuthScope.

Se aplica a