Skip to content

Customize validations for the OIDCAgentConfig. #2

@chamathns

Description

@chamathns

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;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions