Class ProviderMetadataStringValuesLookupFunction

  • All Implemented Interfaces:
    Function<com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata,​List<String>>

    public class ProviderMetadataStringValuesLookupFunction
    extends Object
    implements Function<com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata,​List<String>>
    Fetches the values for the configured key as String. May return an empty list if the value is not found or the given OIDCProviderMetadata 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

      • ProviderMetadataStringValuesLookupFunction

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

      • apply

        @Nonnull
        public List<String> apply​(@Nullable
                                  com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata metadata)
        Specified by:
        apply in interface Function<com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata,​List<String>>