Class FetchMdsProviderService

java.lang.Object
io.jans.fido2.service.mds.FetchMdsProviderService

@ApplicationScoped public class FetchMdsProviderService extends Object
  • Constructor Details

    • FetchMdsProviderService

      public FetchMdsProviderService()
  • Method Details

    • fetchMdsV3Endpoints

      public String fetchMdsV3Endpoints(String endpoint) throws MdsClientException
      Fetch mds getEndpoints
      Returns:
      MetadataTestResponse class
      Throws:
      MdsClientException - When an attempt is made to process the json or the status returns other than 200
    • fetchMetadataBlob

      public String fetchMetadataBlob(String mdsUrl)
      Fetch metadata Blob (TOC)
      Parameters:
      mdsUrl - url Blob (TOC)
      Returns:
      String of Json Web Token (JWT) or null in case of error