Closed aalamu closed 2 months ago
This pull request addresses the following key features and improvements based on JIRA Ticket FLEENFEEN-10:
Follower Service Implementation:
FollowerService
OAuth2 Enhancements:
Oauth2AuthorizationRepository.findByMember(Member)
GoogleOauth2Service
LiveBroadcastServiceImpl
findByMemberAndServiceType(Member, Oauth2ServiceType)
Oauth2AuthenticationRequest
refreshToken
Oauth2Authorization
googleOauthAuthorizationId
oauth2AuthorizationId
Localization Support:
ApiResponse
LocalizedResponse
MessageSource
MessageSourceConfiguration
AuthenticationServiceImpl
MfaServiceImpl
General Refactoring and Bug Fixes:
of(String)
parseEnumOrNull
MfaService
AuthenticationService
ProfileRequestPublisher
EntityListener
FleenFeenEntity
Additional Implementations:
UserDetailsServiceImpl
AuthenticationController
MfaController
VerificationController
Oauth2Controller
MaskedEmailAddress
MaskedPhoneNumber
Description:
This pull request addresses the following key features and improvements based on JIRA Ticket FLEENFEEN-10:
Follower Service Implementation:
FollowerService
to handle user following functionalities:OAuth2 Enhancements:
Oauth2AuthorizationRepository.findByMember(Member)
method.GoogleOauth2Service
andLiveBroadcastServiceImpl
to usefindByMemberAndServiceType(Member, Oauth2ServiceType)
.Oauth2AuthenticationRequest
to includerefreshToken
andOauth2Authorization
.googleOauthAuthorizationId
tooauth2AuthorizationId
in theOauth2Authorization
entity for consistency.Localization Support:
ApiResponse
andLocalizedResponse
classes to enable localized messaging in response classes.MessageSource
to manage different message sources inMessageSourceConfiguration
.AuthenticationServiceImpl
andMfaServiceImpl
, to return localized responses based on the user's locale.ApiResponse
for localization.General Refactoring and Bug Fixes:
of(String)
method to all enums for easier creation of enum instances from strings.parseEnumOrNull
and used the newly addedof(String)
method.MfaService
andAuthenticationService
for enhanced security and functionality.ProfileRequestPublisher
.EntityListener
toFleenFeenEntity
for automatic management of timestamps.Oauth2Authorization
entity and reordered SQL insert statements.Additional Implementations:
UserDetailsServiceImpl
for managing user details.AuthenticationController
,MfaController
,VerificationController
, andOauth2Controller
.MaskedEmailAddress
andMaskedPhoneNumber
classes to mask sensitive data.Testing:
Notes: