org.jboss.resteasy.keystone.model

## Class Access.Token

- java.lang.Object
- - org.jboss.resteasy.keystone.model.Access.Token

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    Access

      public static final class Access.Token
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Access.Token()`
    `Access.Token(String id, Calendar expires, Project project)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `expired()`
    `Calendar` | `getExpires()`
    `String` | `getId()`
    `Project` | `getProject()`
    `String` | `toString()`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Access.Token

          public Access.Token()

    - #### Access.Token

          public Access.Token(String id,
                      Calendar expires,
                      Project project)

  - ### Method Detail

    - #### getId

          public String getId()

      Returns:
        the id

    - #### getExpires

          public Calendar getExpires()

      Returns:
        the expires

    - #### expired

          public boolean expired()

    - #### getProject

          public Project getProject()

      Returns:
        the project

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.