Class: StandardId::Session::RevocationResult

Inherits:
Struct
  • Object
show all
Defined in:
app/models/standard_id/session.rb

Overview

Counts returned by the bulk-revocation class methods. Callers use these to emit their own aggregate event (see StandardId::Api::Oauth::RevocationsController#emit_token_revoked) — the bulk methods deliberately do NOT publish an aggregate themselves.

Instance Attribute Summary collapse

Instance Attribute Details

#refresh_tokens_revokedObject

Returns the value of attribute refresh_tokens_revoked

Returns:

  • (Object)

    the current value of refresh_tokens_revoked



107
108
109
# File 'app/models/standard_id/session.rb', line 107

def refresh_tokens_revoked
  @refresh_tokens_revoked
end

#sessions_revokedObject

Returns the value of attribute sessions_revoked

Returns:

  • (Object)

    the current value of sessions_revoked



107
108
109
# File 'app/models/standard_id/session.rb', line 107

def sessions_revoked
  @sessions_revoked
end