Class LegacyImplicitClientSeeder

java.lang.Object
com.irurueta.authserver.authorization.api.web.implicit.LegacyImplicitClientSeeder
All Implemented Interfaces:
org.springframework.boot.ApplicationRunner

public class LegacyImplicitClientSeeder extends Object implements org.springframework.boot.ApplicationRunner
Registers the one client of the legacy implicit flow at start-up, when it does not exist yet: public, grant implicit only (no refresh token, no consent), one redirect URI, a restricted scope and audience and the lifetime of the flow.
  • Field Details

  • Constructor Details

    • LegacyImplicitClientSeeder

      public LegacyImplicitClientSeeder()
  • Method Details

    • run

      public void run(org.springframework.boot.ApplicationArguments args)
      Seeds the client.
      Specified by:
      run in interface org.springframework.boot.ApplicationRunner
      Parameters:
      args - the application arguments.
    • definition

      ClientRegistration definition()
      Defines the client.
      Returns:
      the client.