Variable signalsCredentialOf
signalsCredentialOf: (
record: any,
) =>
| {
bearer: string;
clientId?: undefined;
clientSecret?: undefined;
method: string;
scope?: undefined;
tokenEndpoint?: undefined;
}
| {
bearer?: undefined;
clientId: string;
clientSecret: string;
method: string;
scope: string;
tokenEndpoint: string;
} = signalsCredentialOf
Type Declaration
-
- (
record: any,
):
| {
bearer: string;
clientId?: undefined;
clientSecret?: undefined;
method: string;
scope?: undefined;
tokenEndpoint?: undefined;
}
| {
bearer?: undefined;
clientId: string;
clientSecret: string;
method: string;
scope: string;
tokenEndpoint: string;
}
-
Returns
| {
bearer: string;
clientId?: undefined;
clientSecret?: undefined;
method: string;
scope?: undefined;
tokenEndpoint?: undefined;
}
| {
bearer?: undefined;
clientId: string;
clientSecret: string;
method: string;
scope: string;
tokenEndpoint: string;
}
{ method, bearer } or { method, tokenEndpoint, clientId, clientSecret, scope }
Returns how this realm authenticates to the partner's stream management: a bearer token, or client credentials, the token endpoint, client and secret falling back to the sign-in relationship's own.