org.wildfly.swarm.microprofile.jwtauth.deployment.auth

## Class JWTAccount

- java.lang.Object
- - org.wildfly.swarm.microprofile.jwtauth.deployment.auth.JWTAccount

-     public class JWTAccount
      extends Object

  Representation of the caller account using the JWTCallerPrincipal as an Undertow Account object.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JWTAccount(JsonWebToken principal, Account delegate)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Principal` | `getPrincipal()`
    `Set<String>` | `getRoles()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JWTAccount

          public JWTAccount(JsonWebToken principal,
                            Account delegate)

  - ### Method Detail

    - #### getPrincipal

          public Principal getPrincipal()

    - #### getRoles

          public Set<String> getRoles()

Copyright © 2017 JBoss by Red Hat. All rights reserved.