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

no.nav.brukerdialog.security.oidc.provider.OidcProvider Maven / Gradle / Ivy

There is a newer version: 1.2020.02.21_14.01-cdaccec525a6
Show newest version
package no.nav.brukerdialog.security.oidc.provider;

import no.nav.brukerdialog.security.domain.IdentType;
import no.nav.brukerdialog.security.domain.OidcCredential;
import no.nav.brukerdialog.security.jwks.CacheMissAction;
import no.nav.brukerdialog.security.jwks.JwtHeader;

import javax.servlet.http.HttpServletRequest;
import java.security.Key;
import java.util.Optional;

public interface OidcProvider {

    Optional getToken(HttpServletRequest httpServletRequest);
    Optional getRefreshToken(HttpServletRequest httpServletRequest);
    OidcCredential getFreshToken(String refreshToken, String requestToken);
    Optional getVerificationKey(JwtHeader header, CacheMissAction cacheMissAction);
    String getExpectedIssuer();
    String getExpectedAudience(String token);
    IdentType getIdentType(String token);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy