Endpoints.prototype.clone(values?: { id?: URL | null; proxyUrl?: URL | null; oauthAuthorizationEndpoint?: URL | null; oauthTokenEndpoint?: URL | null; provideClientKey?: URL | null; signClientKey?: URL | null; sharedInbox?: URL | null; },options?: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; },): Endpoints
Clones this instance, optionally updating it with the given values.
optional
values: { id?: URL | null; proxyUrl?: URL | null; oauthAuthorizationEndpoint?: URL | null; oauthTokenEndpoint?: URL | null; provideClientKey?: URL | null; signClientKey?: URL | null; sharedInbox?: URL | null; }
The values to update the clone with.
optional
options: { documentLoader?: DocumentLoader; contextLoader?: DocumentLoader; }
The cloned instance.