/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.identity.User
 *  com.l7tech.policy.assertion.credential.LoginCredentials
 *  com.l7tech.server.identity.AuthenticationResult
 *  com.l7tech.server.oauth2.OAuth2VerifierResult
 */
package com.l7tech.server.pm2;

import com.l7tech.identity.User;
import com.l7tech.policy.assertion.credential.LoginCredentials;
import com.l7tech.server.identity.AuthenticationResult;
import com.l7tech.server.oauth2.OAuth2VerifierResult;

public static class PM2AbstractServlet.PM2AuthContext {
    private LoginCredentials a;
    private String b;
    private AuthenticationResult c;
    private OAuth2VerifierResult d;
    private boolean e;
    private User f;

    public boolean hasCredentials() {
        return this.a != null || this.b != null;
    }

    public boolean isAuthenticated() {
        return this.e;
    }

    public AuthenticationResult getAuthResult() {
        return this.c;
    }

    public OAuth2VerifierResult getOAuthResult() {
        return this.d;
    }

    public User getAuthenticatedUser() {
        return this.f;
    }
}
