91 строка
4.9 KiB
YAML
91 строка
4.9 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.microsoft.azure.eventhubs.SecurityToken"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken"
|
|
name: "SecurityToken"
|
|
nameWithType: "SecurityToken"
|
|
summary: "A generic representation of a security token."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public class **SecurityToken**"
|
|
constructors:
|
|
- uid: "com.microsoft.azure.eventhubs.SecurityToken.SecurityToken(java.lang.String,java.util.Date,java.lang.String,java.lang.String)"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken.SecurityToken(String token, Date validTo, String audience, String tokenType)"
|
|
name: "SecurityToken(String token, Date validTo, String audience, String tokenType)"
|
|
nameWithType: "SecurityToken.SecurityToken(String token, Date validTo, String audience, String tokenType)"
|
|
summary: "Constructor."
|
|
parameters:
|
|
- description: "the actual token data"
|
|
name: "token"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "expiration date/time of the token"
|
|
name: "validTo"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Date.html\">Date</a>"
|
|
- description: "audience of the token"
|
|
name: "audience"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "type of the token"
|
|
name: "tokenType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public SecurityToken(String token, Date validTo, String audience, String tokenType)"
|
|
desc: "Constructor."
|
|
methods:
|
|
- uid: "com.microsoft.azure.eventhubs.SecurityToken.getAudience()"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken.getAudience()"
|
|
name: "getAudience()"
|
|
nameWithType: "SecurityToken.getAudience()"
|
|
summary: "Get the audience of the token."
|
|
syntax: "public String getAudience()"
|
|
desc: "Get the audience of the token."
|
|
returns:
|
|
description: "audience"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.microsoft.azure.eventhubs.SecurityToken.getToken()"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken.getToken()"
|
|
name: "getToken()"
|
|
nameWithType: "SecurityToken.getToken()"
|
|
summary: "Get the token itself."
|
|
syntax: "public String getToken()"
|
|
desc: "Get the token itself."
|
|
returns:
|
|
description: "token"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.microsoft.azure.eventhubs.SecurityToken.getTokenType()"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken.getTokenType()"
|
|
name: "getTokenType()"
|
|
nameWithType: "SecurityToken.getTokenType()"
|
|
summary: "Get the type of the token."
|
|
syntax: "public String getTokenType()"
|
|
desc: "Get the type of the token."
|
|
returns:
|
|
description: "token type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.microsoft.azure.eventhubs.SecurityToken.validTo()"
|
|
fullName: "com.microsoft.azure.eventhubs.SecurityToken.validTo()"
|
|
name: "validTo()"
|
|
nameWithType: "SecurityToken.validTo()"
|
|
summary: "Get the expiration date/time of the token."
|
|
syntax: "public Date validTo()"
|
|
desc: "Get the expiration date/time of the token."
|
|
returns:
|
|
description: "expiration"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Date.html\">Date</a>"
|
|
type: "class"
|
|
desc: "A generic representation of a security token."
|
|
metadata: {}
|
|
package: "com.microsoft.azure.eventhubs"
|
|
artifact: com.microsoft.azure:azure-eventhubs:3.2.2
|