asgardeo / asgardeo/asgardeo-java-oidc-sdk
Customize validations for the OIDCAgentConfig.
- Dominant language
- Java
- Stars
- 18
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
**Description:**
Add Validator implementations in the SDK for validating the Agent Config in order to add customizable validations and enforcement.
```
public Interface Validator {
void validate(OIDCAgentConfig config);
}
```
validators - CodeValidator, LogoutValidator, ImplicitValidator, etc.
```
public OIDCManagerImpl(OIDCAgentConfig oidcAgentConfig, Validator[] validators) throws SSOAgentClientException {
for (Validator validator: validators) {
validator.validate(oidcAgentConfig);
}
this.oidcAgentConfig = oidcAgentConfig;
}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating OIDCAgentConfig and OIDCManagerImpl, then inspect how configuration validation currently occurs. Review the requested Validator interface and the listed validator types to understand the intended scope. Done means customizable validators can be applied when constructing OIDCManagerImpl and enforce the agent configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100