Exception: ScimEngine::AuthenticationError

Inherits:
ErrorResponse
  • Object
show all
Defined in:
app/models/scim_engine/authentication_error.rb

Instance Attribute Summary

Attributes inherited from ErrorResponse

#detail, #scimType, #status

Instance Method Summary collapse

Methods inherited from ErrorResponse

#as_json

Constructor Details

#initializeAuthenticationError

Returns a new instance of AuthenticationError.


4
5
6
# File 'app/models/scim_engine/authentication_error.rb', line 4

def initialize
  super(status: 401, detail: 'Requires authentication')
end