org.keycloak.wellknown

## Interface WellKnownProviderFactory

- All Superinterfaces:
    ProviderFactory<WellKnownProvider>
  All Known Implementing Classes:
    OIDCWellKnownProviderFactory, UmaWellKnownProviderFactory

      public interface WellKnownProviderFactory
      extends ProviderFactory<WellKnownProvider>

  Author:
    Stian Thorgersen

- - ### Method Summary

    All Methods Instance Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `default String` | `getAlias()` Alias, which will be used as URL suffix of this well-known provider.
    `default int` | `getPriority()` Use low priority, so custom implementation with alias "openid-configuration" will win over the default implementation with alias "openid-configuration", which is provided by Keycloak (OIDCWellKnownProviderFactory).

    - ### Methods inherited from interface org.keycloak.provider.ProviderFactory

      `close, create, getId, init, order, postInit`

- - ### Method Detail

    - #### getAlias

          default String getAlias()

      Alias, which will be used as URL suffix of this well-known provider. For example if you use alias like "openid-configuration", then your WellKnown provider might be available under URL like "https://myhost/auth/realms/myrealm/.well-known/openid-configuration". If there are multiple provider factories with same alias, the one with lowest priority will be used.
      See Also:
        `getPriority()`

    - #### getPriority

          default int getPriority()

      Use low priority, so custom implementation with alias "openid-configuration" will win over the default implementation with alias "openid-configuration", which is provided by Keycloak (OIDCWellKnownProviderFactory).

Copyright © 2021 JBoss by Red Hat. All rights reserved.