issuerFor: (
iss: any,
purpose: any,
) => {
declared: boolean;
identifier: any;
record: {
hasKeyPair: boolean;
hasSamlKeyPair: boolean;
issuers: string[];
jwks: { keys: any[] };
keys: { jwt: any[]; saml: any[] };
samlCertificates: { chain: string; pem: string; thumbprint: string }[];
samlIssuers: string[];
username: any;
};
} = issuerFor
Finds the person, if any, who issues assertions under an issuer name for a profile.
A declared issuer wins over a bare username, and a person with no valid key pair for the profile is no issuer. One read per HOLDER of the profile's key pairs (#616), not per person in the realm.