validate(provider: string,service: string,secret: string,response: boolean,report: boolean,isBrowser?: boolean,): Promise<{ }
| ""
| ValidationResult
| undefined>
Validate the provided secret using the given provider, service, and options.
provider: string
- The provider to use for validation.
service: string
- The service to validate the secret with.
secret: string
- The secret that needs to be validated.
response: boolean
- Whether to get a response status for the secret.
report: boolean
- Whether to generate a report for the validation.
optional
isBrowser: boolean = false
- Whether the validation is being run in a browser environment.
Promise<{ }
| ""
| ValidationResult
| undefined>
- A promise that resolves when validation is complete.