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

dev.soffa.foundation.security.AuthManager Maven / Gradle / Ivy

There is a newer version: 0.17.31
Show newest version
package dev.soffa.foundation.security;

import dev.soffa.foundation.context.Context;
import dev.soffa.foundation.model.Authentication;

public interface AuthManager {

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy