octoposprime / op-be-user

OctopOS Prime Backend User
http://www.octoposprime.com
MIT License
18 stars 2 forks source link

Remove ValidateToken Method from Service Layer #76

Closed Feyzanrs closed 3 months ago

Feyzanrs commented 4 months ago

The ValidateToken method in the Service layer is no longer required in the user context as token-related functionalities are being moved. It needs to be removed to keep the codebase clean and efficient.

Path of the file to be changed

internal/domain/service/service.go

Code to be Removed

// ValidateToken checks the validity of a token
func (s *Service) ValidateToken(token *mo.Token) error {
    return token.Validate()
}

The changes will be merged into the enhance/team/66/implement-password-validation branch first. Therefore, set the base branch of the pull request as enhance/team/66/implement-password-validation.