Class Origin

java.lang.Object
com.webauthn4j.data.client.Origin

public class Origin extends Object
Origin contains the fully qualified origin of the requester, as provided to the authenticator by the client.
See Also:
  • Constructor Details

    • Origin

      public Origin(@NotNull @NotNull String originUrl)
  • Method Details

    • create

      @NotNull public static @NotNull Origin create(@NotNull @NotNull String value)
    • getScheme

      @NotNull public @NotNull String getScheme()
    • getHost

      @Nullable public @Nullable String getHost()
    • getPort

      @Nullable public @Nullable Integer getPort()
    • getSchemeSpecificPart

      @NotNull public @NotNull String getSchemeSpecificPart()
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(@Nullable @Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object