53 строки
3.7 KiB
YAML
53 строки
3.7 KiB
YAML
### YamlMime:JavaType
|
|
methods:
|
|
- fullName: com.microsoft.aad.adal.IJWSBuilder.generateJWT(Map<String, String> header, Map<String, String> body, int expTimeInSeconds)
|
|
name: generateJWT(Map<String, String> header, Map<String, String> body, int expTimeInSeconds)
|
|
nameWithType: IJWSBuilder.generateJWT(Map<String, String> header, Map<String, String> body, int expTimeInSeconds)
|
|
parameters:
|
|
- name: header
|
|
type: <xref href="Map%3CString%2C+String%3E?alt=Map%3CString%2C+String%3E&text=Map%3CString%2C+String%3E" data-throw-if-not-resolved="False"/>
|
|
- name: body
|
|
type: <xref href="Map%3CString%2C+String%3E?alt=Map%3CString%2C+String%3E&text=Map%3CString%2C+String%3E" data-throw-if-not-resolved="False"/>
|
|
- name: expTimeInSeconds
|
|
type: <xref href="int?alt=int&text=int" data-throw-if-not-resolved="False"/>
|
|
returns:
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
syntax: public String generateJWT(Map<String, String> header, Map<String, String> body, int expTimeInSeconds)
|
|
uid: com.microsoft.aad.adal.IJWSBuilder.generateJWT(Map<String, String>,Map<String, String>,int)
|
|
- fullName: com.microsoft.aad.adal.IJWSBuilder.generateSignedJWT(String nonce, String submitUrl, RSAPrivateKey privateKey, RSAPublicKey pubKey, X509Certificate x509Certificate)
|
|
name: generateSignedJWT(String nonce, String submitUrl, RSAPrivateKey privateKey, RSAPublicKey pubKey, X509Certificate x509Certificate)
|
|
nameWithType: IJWSBuilder.generateSignedJWT(String nonce, String submitUrl, RSAPrivateKey privateKey, RSAPublicKey pubKey, X509Certificate x509Certificate)
|
|
parameters:
|
|
- description: <p>A unique value issued by the server in its challenge. The client is expected to return this value to the server in its signed JWT response in order to perform device authentication. The nonce is also persisted within the encrypted context parameter. </p>
|
|
name: nonce
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
- description: <p>The version number of the challenge-response based device authentication protocol. This is set to 1.0. </p>
|
|
name: submitUrl
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
- description: <p>Private Key of the Device Certificate to sign the response </p>
|
|
name: privateKey
|
|
type: <xref href="RSAPrivateKey?alt=RSAPrivateKey&text=RSAPrivateKey" data-throw-if-not-resolved="False"/>
|
|
- description: <p>Public Key of the Device Certificate </p>
|
|
name: pubKey
|
|
type: <xref href="RSAPublicKey?alt=RSAPublicKey&text=RSAPublicKey" data-throw-if-not-resolved="False"/>
|
|
- description: <p>X509 certificate </p>
|
|
name: x509Certificate
|
|
type: <xref href="X509Certificate?alt=X509Certificate&text=X509Certificate" data-throw-if-not-resolved="False"/>
|
|
exceptions:
|
|
- type: <xref href="AuthenticationException?alt=AuthenticationException&text=AuthenticationException" data-throw-if-not-resolved="False"/>
|
|
description: <p>when errors happens for generating signed JWT. </p>
|
|
returns:
|
|
description: <p>Signed JWT </p>
|
|
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
|
|
syntax: public String generateSignedJWT(String nonce, String submitUrl, RSAPrivateKey privateKey, RSAPublicKey pubKey, X509Certificate x509Certificate)
|
|
uid: com.microsoft.aad.adal.IJWSBuilder.generateSignedJWT(String,String,RSAPrivateKey,RSAPublicKey,X509Certificate)
|
|
nameWithType: IJWSBuilder
|
|
syntax: public interface IJWSBuilder
|
|
type: interface
|
|
uid: com.microsoft.aad.adal.IJWSBuilder
|
|
fullName: com.microsoft.aad.adal.IJWSBuilder
|
|
name: IJWSBuilder
|
|
package: com.microsoft.aad.adal
|
|
summary: <p>Interface to construct jws message for responding certificate challenge. </p>
|
|
metadata: {}
|