local g={}local n={}n.__index=n function g.new(g,K)local f={}f.IdToken=K.IdToken f.Issued=tick()f.Expires=f.Issued+K.ExpiresIn return setmetatable(f,n)end return g
local Auth = {}
local AUTH_METATABLE = {}
AUTH_METATABLE.__index = AUTH_METATABLE

function Auth.new(_, authParams)
    local self = {}

    self.IdToken = authParams.IdToken
    self.Issued = tick()
    self.Expires = self.Issued + authParams.ExpiresIn

    return setmetatable(self, AUTH_METATABLE)
end

return Auth
