'@param validity: The time in seconds.
@type validity: int'

def __init__(self, validity=90):

    Token.__init__(self)
    self.created = Token.utc()
    self.expires = (self.created + timedelta(seconds=validity))
