Class: SoarAuthenticationToken::DummyStorageClient

Inherits:
Object
  • Object
show all
Defined in:
lib/soar_authentication_token/config_rotator.rb

Instance Method Summary collapse

Constructor Details

#initialize(configuration = {}) ⇒ DummyStorageClient

Returns a new instance of DummyStorageClient.



97
98
# File 'lib/soar_authentication_token/config_rotator.rb', line 97

def initialize(configuration = {})
end

Instance Method Details

#add(token_identifier:, authenticated_identifier:, token_issue_time:, token_expiry_time:, flow_identifier: nil) ⇒ Object



104
105
# File 'lib/soar_authentication_token/config_rotator.rb', line 104

def add(token_identifier:, authenticated_identifier:, token_issue_time:, token_expiry_time:, flow_identifier: nil)
end

#list_tokens_for(authenticated_identifier:, flow_identifier: nil) ⇒ Object



115
116
117
# File 'lib/soar_authentication_token/config_rotator.rb', line 115

def list_tokens_for(authenticated_identifier:, flow_identifier: nil)
  nil
end

#remove(token_identifier:, flow_identifier: nil) ⇒ Object



106
107
108
# File 'lib/soar_authentication_token/config_rotator.rb', line 106

def remove(token_identifier:, flow_identifier: nil)
  true
end

#remove_tokens_for(authenticated_identifier:, flow_identifier: nil) ⇒ Object



112
113
114
# File 'lib/soar_authentication_token/config_rotator.rb', line 112

def remove_tokens_for(authenticated_identifier:, flow_identifier: nil)
  true
end

#store_failure(state = true) ⇒ Object



99
100
# File 'lib/soar_authentication_token/config_rotator.rb', line 99

def store_failure(state = true)
end

#store_failure?Boolean

Returns:

  • (Boolean)


101
102
103
# File 'lib/soar_authentication_token/config_rotator.rb', line 101

def store_failure?
  false
end

#token_exist?(token_identifier:, authenticated_identifier:, token_issue_time:, token_expiry_time:, flow_identifier: nil) ⇒ Boolean

Returns:

  • (Boolean)


109
110
111
# File 'lib/soar_authentication_token/config_rotator.rb', line 109

def token_exist?(token_identifier:, authenticated_identifier:, token_issue_time:, token_expiry_time:, flow_identifier: nil)
  true
end