Exception: AgentsID::TokenRevokedError

Inherits:
AgentsIDError show all
Defined in:
lib/agentsid/errors.rb

Instance Attribute Summary

Attributes inherited from AgentsIDError

#code, #status_code

Instance Method Summary collapse

Constructor Details

#initializeTokenRevokedError

Returns a new instance of TokenRevokedError.



41
42
43
# File 'lib/agentsid/errors.rb', line 41

def initialize
  super("Agent token has been revoked", code: "TOKEN_REVOKED", status_code: 401)
end