def payload
      now = Time.now - 1
      expires = now + 60 * SELF_SIGNED_JWT_LIFETIME
      logger.verbose("Creating self signed JWT payload. Expires: #{expires}. " \
                     "NotBefore: #{now}.")
      { AUDIENCE => @token_endpoint,
        ISSUER => @client_id,
        SUBJECT => @client_id,
        NOT_BEFORE => now.to_i,
        EXPIRES_ON => expires.to_i,
        JWT_ID => SecureRandom.uuid }
    end
def payload
      now = Time.now - 1
      expires = now + 60 * SELF_SIGNED_JWT_LIFETIME
      logger.verbose("Creating self signed JWT payload. Expires: #{expires}. " \
                     "NotBefore: #{now}.")
      { AUDIENCE => @token_endpoint,
        ISSUER => @client_id,
        SUBJECT => @client_id,
        NOT_BEFORE => now.to_i,
        EXPIRES_ON => expires.to_i,
        JWT_ID => SecureRandom.uuid }
    end
The JWT payload.