Class OIDCAuthenticationResponseConsentContext

  • All Implemented Interfaces:
    Iterable<org.opensaml.messaging.context.BaseContext>

    public class OIDCAuthenticationResponseConsentContext
    extends org.opensaml.messaging.context.BaseContext
    Subcontext carrying user consent information in a form suitable for OIDC processing. The information is carried in tokens (code, refresh token, access token) to back channel endpoints. This context appears as a subcontext of the OIDCAuthenticationResponseContext.
    • Field Detail

      • consentedAttributes

        @Nullable
        private net.minidev.json.JSONArray consentedAttributes
        Attributes having consent.
      • consentableAttributes

        @Nullable
        private net.minidev.json.JSONArray consentableAttributes
        Attributes requiring consent.
    • Constructor Detail

      • OIDCAuthenticationResponseConsentContext

        public OIDCAuthenticationResponseConsentContext()
        Constructor.
    • Method Detail

      • getConsentedAttributes

        @Nonnull
        public net.minidev.json.JSONArray getConsentedAttributes()
        Get consented attributes.
        Returns:
        consented attributes.
      • getConsentableAttributes

        @Nonnull
        public net.minidev.json.JSONArray getConsentableAttributes()
        Get consentable attributes.
        Returns:
        consentable attributes.