import {apiPath} from "./utils"

export default {
    loginEndpoint: `${apiPath}/login`,
    registerEndpoint: `${apiPath}/register`,
    refreshEndpoint: `${apiPath}/refresh/token`,
    logoutEndpoint: `/jwt/logout`,

    // ** This will be prefixed in authorization header with token
    // ? e.g. Authorization: Bearer <token>
    tokenType: 'Bearer',

    // ** Value of this property will be used as key to store JWT token in storage
    storageTokenKeyName: 'accessToken',
    storageRefreshTokenKeyName: 'refreshToken',
    storageUserRoleKeyName: 'role'
}