Class AuthServer

java.lang.Object
de.adorsys.sts.tokenauth.AuthServer

public class AuthServer extends Object
  • Constructor Details

    • AuthServer

      public AuthServer(String name, String issUrl, String jwksUrl)
    • AuthServer

      public AuthServer(String name, String issUrl, String jwksUrl, int refreshIntervalSeconds)
  • Method Details

    • getJWK

      public Key getJWK(String keyID) throws AuthServer.JsonWebKeyRetrievalException
      Throws:
      AuthServer.JsonWebKeyRetrievalException
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getIssUrl

      public String getIssUrl()
    • setIssUrl

      public void setIssUrl(String issUrl)
    • getJwksUrl

      public String getJwksUrl()
    • setJwksUrl

      public void setJwksUrl(String jwksUrl)
    • getRefreshIntervalSeconds

      public int getRefreshIntervalSeconds()
    • setRefreshIntervalSeconds

      public void setRefreshIntervalSeconds(int refreshIntervalSeconds)
    • onJsonWebKeySetRetrieved

      protected void onJsonWebKeySetRetrieved(List<com.nimbusds.jose.jwk.JWK> jwks)