All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.soffa.foundation.core.security.AuthManager Maven / Gradle / Ivy

package io.soffa.foundation.core.security;

import io.soffa.foundation.core.RequestContext;
import io.soffa.foundation.core.models.Authentication;

public interface AuthManager {

    default Authentication authenticate(RequestContext context) {
        return authenticate(context, context.getAuthorization());
    }

    default Authentication authenticate(RequestContext context, String token) {
        return null;
    }

    default Authentication authenticate(RequestContext context, String username, String password) {
        return null;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy