Uses of Class
org.pipservices3.components.auth.CredentialParams
Packages that use CredentialParams
-
Uses of CredentialParams in org.pipservices3.components.auth
Methods in org.pipservices3.components.auth that return CredentialParamsModifier and TypeMethodDescriptionstatic CredentialParamsCredentialParams.fromConfig(org.pipservices3.commons.config.ConfigParams config) Retrieves a single CredentialParams from configuration parameters from "credential" section.static CredentialParamsCredentialParams.fromConfig(org.pipservices3.commons.config.ConfigParams config, boolean configAsDefault) Retrieves a single CredentialParams from configuration parameters from "credential" section.static CredentialParamsCredentialParams.fromString(String line) Creates a new CredentialParams object filled with key-value pairs serialized as a string.static CredentialParamsCredentialParams.fromTuples(Object... tuples) Creates a new CredentialParams object filled with provided key-value pairs called tuples.static CredentialParamsCreates a new CredentialParams object filled with key-value pairs from specified object.Looks up component credential parameters.Lookups credential parameters by its key.Lookups credential parameters by its key.static CredentialParamsCredentialParams.mergeConfigs(List<org.pipservices3.commons.config.ConfigParams> configs) Merges two or more CredentialParams into one.static CredentialParamsCredentialParams.mergeConfigs(org.pipservices3.commons.config.ConfigParams... configs) Merges two or more CredentialParams into one.Methods in org.pipservices3.components.auth that return types with arguments of type CredentialParamsModifier and TypeMethodDescriptionCredentialResolver.getAll()Gets all credentials configured in component configuration.static List<CredentialParams>CredentialParams.manyFromConfig(org.pipservices3.commons.config.ConfigParams config) Retrieves all CredentialParams from configuration parameters from "credentials" section.static List<CredentialParams>CredentialParams.manyFromConfig(org.pipservices3.commons.config.ConfigParams config, boolean configAsDefault) Retrieves all CredentialParams from configuration parameters from "credentials" section.Methods in org.pipservices3.components.auth with parameters of type CredentialParamsModifier and TypeMethodDescriptionvoidCredentialResolver.add(CredentialParams connection) Adds a new credential to component credentialsvoidICredentialStore.store(String correlationId, String key, CredentialParams credential) Stores credential parameters into the store.voidMemoryCredentialStore.store(String correlationId, String key, CredentialParams credential) Stores credential parameters into the store. -
Uses of CredentialParams in org.pipservices3.components.connect
Methods in org.pipservices3.components.connect with parameters of type CredentialParamsModifier and TypeMethodDescriptionorg.pipservices3.commons.config.ConfigParamsCompositeConnectionResolver.compose(String correlationId, List<ConnectionParams> connections, CredentialParams credential, org.pipservices3.commons.config.ConfigParams parameters) Composes Composite connection options from connection and credential parameters.protected org.pipservices3.commons.config.ConfigParamsCompositeConnectionResolver.mergeCredential(org.pipservices3.commons.config.ConfigParams options, CredentialParams credential) Merges connection options with credential parameters This method can be overriden in child classes.protected voidCompositeConnectionResolver.validateCredential(String correlationId, CredentialParams credential) Validates credential parameters and throws an exception on error.