package com.airlock.iam.saml2.infrastructure;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.net.URI;

public enum Saml2CommonSpaUrls {
   UI_LOGOUT_URI("ui/app/auth/logout"),
   UI_LOGOUT_RESUME_URI("ui/app/auth/logout/resume");

   public static final String UI_ERROR_URI_VALUE = "ui/app/error/message";
   private final String path;

   public URI uri() {
      return URI.create(this.path);
   }

   @SuppressFBWarnings(justification = "generated code")
   Saml2CommonSpaUrls(final String path) {
      this.path = path;
   }

   @SuppressFBWarnings(justification = "generated code")
   public String path() {
      return this.path;
   }
}
