JsonSecurityToken Class
- java.
lang. Object - com.
microsoft. azure. eventhubs. SecurityToken - com.
microsoft. azure. eventhubs. JsonSecurityToken
- com.
- com.
public class JsonSecurityToken
extends SecurityToken
Extend SecurityToken with some specifics for a JSon Web Token
Constructor Summary
Constructor | Description |
---|---|
JsonSecurityToken(String rawToken, String audience) |
Construct from a raw JWT. |
Methods inherited from SecurityToken
Methods inherited from java.lang.Object
Constructor Details
JsonSecurityToken
public JsonSecurityToken(String rawToken, String audience)
Construct from a raw JWT.
Parameters:
rawToken
- the JWT token data
audience
- audience of the token
Throws:
- if the token cannot be parsed
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for