Class ClientInformationStringValueLookupFunction

  • All Implemented Interfaces:
    Function<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,​String>

    public class ClientInformationStringValueLookupFunction
    extends Object
    implements Function<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,​String>
    Fetches the value for the configured key as String. May be null if the value is not found or the given OIDCClientInformation or its metadata is null.
    • Field Detail

      • log

        @Nonnull
        private final org.slf4j.Logger log
        Class logger.
      • keyName

        @Nonnull
        private final String keyName
        The key for which to fetch the value for.
    • Constructor Detail

      • ClientInformationStringValueLookupFunction

        public ClientInformationStringValueLookupFunction​(@ParameterName(name="keyName") @Nonnull
                                                          String name)
        Constructor.
        Parameters:
        name - The key for which to fetch the value for.
    • Method Detail

      • apply

        @Nullable
        public String apply​(@Nullable
                            com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation information)
        Specified by:
        apply in interface Function<com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation,​String>