azure-docs-sdk-java/docs-ref-autogen/com.microsoft.azure.service...

102 строки
5.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.servicebus.security.SecurityToken"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken"
name: "SecurityToken"
nameWithType: "SecurityToken"
summary: "This class encapsulates the details of a security token."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "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(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public class SecurityToken"
constructors:
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.SecurityToken(com.microsoft.azure.servicebus.security.SecurityTokenType,java.lang.String,java.lang.String,java.time.Instant,java.time.Instant)"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil)"
name: "SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil)"
nameWithType: "SecurityToken.SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil)"
summary: "Creates an instance of security token."
parameters:
- description: "<xref uid=\"com.microsoft.azure.servicebus.security.SecurityTokenType\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SecurityTokenType\"></xref>"
name: "tokenType"
type: "<xref href=\"com.microsoft.azure.servicebus.security.SecurityTokenType?alt=com.microsoft.azure.servicebus.security.SecurityTokenType&text=SecurityTokenType\" data-throw-if-not-resolved=\"False\" />"
- description: "path of the entity for which this security token is to be presented"
name: "tokenAudience"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "string representation of the token value"
name: "tokenValue"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "Instant from when this token is valid"
name: "validFrom"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
- description: "Instant when this token expires"
name: "validUntil"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
syntax: "public SecurityToken(SecurityTokenType tokenType, String tokenAudience, String tokenValue, Instant validFrom, Instant validUntil)"
desc: "Creates an instance of security token."
methods:
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenAudience()"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenAudience()"
name: "getTokenAudience()"
nameWithType: "SecurityToken.getTokenAudience()"
summary: "Gets the path of the entity for which this token is to be presented."
syntax: "public String getTokenAudience()"
desc: "Gets the path of the entity for which this token is to be presented."
returns:
description: "path of the entity for which this token is created"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenType()"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenType()"
name: "getTokenType()"
nameWithType: "SecurityToken.getTokenType()"
summary: "Gets the type of this security token."
syntax: "public SecurityTokenType getTokenType()"
desc: "Gets the type of this security token."
returns:
description: "security token type"
type: "<xref href=\"com.microsoft.azure.servicebus.security.SecurityTokenType?alt=com.microsoft.azure.servicebus.security.SecurityTokenType&text=SecurityTokenType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenValue()"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.getTokenValue()"
name: "getTokenValue()"
nameWithType: "SecurityToken.getTokenValue()"
summary: "Gets the value of this token."
syntax: "public String getTokenValue()"
desc: "Gets the value of this token."
returns:
description: "string representation of the token value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.getValidFrom()"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.getValidFrom()"
name: "getValidFrom()"
nameWithType: "SecurityToken.getValidFrom()"
summary: "Gets the start time of this token validity"
syntax: "public Instant getValidFrom()"
desc: "Gets the start time of this token validity"
returns:
description: "Instant from when this token is valid"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
- uid: "com.microsoft.azure.servicebus.security.SecurityToken.getValidUntil()"
fullName: "com.microsoft.azure.servicebus.security.SecurityToken.getValidUntil()"
name: "getValidUntil()"
nameWithType: "SecurityToken.getValidUntil()"
summary: "Gets the end time of this token validity."
syntax: "public Instant getValidUntil()"
desc: "Gets the end time of this token validity."
returns:
description: "Instant when this token expires"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Instant.html\">Instant</a>"
type: "class"
desc: "This class encapsulates the details of a security token."
metadata: {}
package: "com.microsoft.azure.servicebus.security"
artifact: com.microsoft.azure:azure-servicebus:3.6.6