Class PontesRequestAuthorizer

java.lang.Object
net.finmath.pontes.erc7573.PontesRequestAuthorizer

public final class PontesRequestAuthorizer extends Object
Separates token acquisition from the resource-request interceptor.
  • Constructor Details

  • Method Details

    • prepare

      public void prepare()
      May perform token-endpoint I/O and therefore belongs before a mutation dispatch boundary.
    • assertPrepared

      public void assertPrepared()
      Revalidates the prepared request-lifetime margin without token-endpoint I/O.
    • interceptor

      public org.springframework.http.client.ClientHttpRequestInterceptor interceptor()
      Header attachment is local-only; token endpoint I/O is forbidden here.