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 Summary
FieldsModifier and TypeFieldDescriptionprivate final LegacyImplicitPropertiesSettings of the flow.private final SeedRegisteredClientsUseCaseSeeds the clients. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) ClientRegistrationDefines the client.voidrun(org.springframework.boot.ApplicationArguments args) Seeds the client.
-
Field Details
-
seedRegisteredClientsUseCase
Seeds the clients. -
properties
Settings of the flow.
-
-
Constructor Details
-
LegacyImplicitClientSeeder
public LegacyImplicitClientSeeder()
-
-
Method Details
-
run
public void run(org.springframework.boot.ApplicationArguments args) Seeds the client.- Specified by:
runin interfaceorg.springframework.boot.ApplicationRunner- Parameters:
args- the application arguments.
-
definition
ClientRegistration definition()Defines the client.- Returns:
- the client.
-