Class: KeycloakOauth::AuthenticationService

Inherits:
AuthenticationServiceBase show all
Defined in:
app/services/keycloak_oauth/authentication_service.rb

Constant Summary

Constants inherited from AuthenticationServiceBase

KeycloakOauth::AuthenticationServiceBase::ACCESS_TOKEN_EXPIRES_IN, KeycloakOauth::AuthenticationServiceBase::ACCESS_TOKEN_KEY, KeycloakOauth::AuthenticationServiceBase::REFRESH_TOKEN_EXPIRES_IN, KeycloakOauth::AuthenticationServiceBase::REFRESH_TOKEN_KEY

Instance Attribute Summary collapse

Attributes inherited from AuthenticationServiceBase

#session

Instance Method Summary collapse

Methods inherited from AuthenticationServiceBase

#authenticate

Constructor Details

#initialize(session:, authentication_params:) ⇒ AuthenticationService

Returns a new instance of AuthenticationService.



6
7
8
9
# File 'app/services/keycloak_oauth/authentication_service.rb', line 6

def initialize(session:, authentication_params:)
  @authentication_params = authentication_params
  super session: session
end

Instance Attribute Details

#authentication_paramsObject (readonly)

Returns the value of attribute authentication_params.



4
5
6
# File 'app/services/keycloak_oauth/authentication_service.rb', line 4

def authentication_params
  @authentication_params
end