Skip to content

Commit

Permalink
Refactor constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Akila94 committed Nov 14, 2024
1 parent 483d2a8 commit ca36e65
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

import org.wso2.openbanking.cds.identity.authenticator.util.Constants;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
Expand All @@ -46,8 +48,9 @@ public class CDSIdentityConstants {
public static final String JWT_RESPONSE_MODE = "jwt";
public static final String UNSUPPORTED_RESPONSE_TYPE_ERROR = "unsupported_response_type";
public static final String SESSION_DATA_KEY_PARAMETER = "sessionDataKey";
public static final List<String> MANDATORY_ASSERTION_PARAMS_LIST = List.of(Constants.ISSUER_CLAIM,
Constants.SUBJECT_CLAIM, Constants.AUDIENCE_CLAIM, Constants.EXPIRATION_TIME_CLAIM, Constants.JWT_ID_CLAIM);
public static final List<String> MANDATORY_ASSERTION_PARAMS_LIST = Collections
.unmodifiableList(Arrays.asList(Constants.ISSUER_CLAIM, Constants.SUBJECT_CLAIM, Constants.AUDIENCE_CLAIM,
Constants.EXPIRATION_TIME_CLAIM, Constants.JWT_ID_CLAIM));
public static final String CLIENT_ASSERTION = "client_assertion";

}

0 comments on commit ca36e65

Please sign in to comment.