SecurityToken Class
- java.
lang. Object - com.
microsoft. azure. eventhubs. SecurityToken
- com.
public class SecurityToken
A generic representation of a security token.
Constructor Summary
Constructor | Description |
---|---|
SecurityToken(String token, Date validTo, String audience, String tokenType) |
Constructor. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getAudience()
Get the audience of the token. |
String |
getToken()
Get the token itself. |
String |
getTokenType()
Get the type of the token. |
Date |
validTo()
Get the expiration date/time of the token. |
Methods inherited from java.lang.Object
Constructor Details
SecurityToken
public SecurityToken(String token, Date validTo, String audience, String tokenType)
Constructor.
Parameters:
Method Details
getAudience
public String getAudience()
Get the audience of the token.
Returns:
getToken
public String getToken()
Get the token itself.
Returns:
getTokenType
public String getTokenType()
Get the type of the token.
Returns:
validTo
public Date validTo()
Get the expiration date/time of the token.
Returns:
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per