Package com.example.blogs.app.api.auth.service


package com.example.blogs.app.api.auth.service
  • Class
    Description
    Handles authentication operations including user registration, login, token management, and logout functionality.
    Orchestrates user authentication operations by coordinating password hashing, user validation, and token generation.
    Low-level utility for generating signed JWT tokens with custom claims and expiration.
    Generates JWT tokens using JJWT library with HMAC SHA256 signing.
    Generates JWT tokens with preconfigured expiration times for access and refresh flows.
    Delegates to JWTHelper with application-configured expiration durations for access and refresh tokens.
    Scheduled task for removing expired tokens from the revoked tokens table.
    Configures and executes scheduled cleanup of expired revoked tokens.
    Generates JWT token pairs (access and refresh) with user claims for authentication.
    Creates JWT token pairs with embedded user claims for access and refresh authentication flows.