PortalAPICredential
A bearer API credential for one Portal membership. Its secret is returned only at issuance and stored as a digest.
Fields
Unique credential identifier.
False once the credential is revoked.
Portal the credential authenticates against.
PortalUser the credential acts as.
Membership the credential acts through.
Optional action ceiling, sorted; null means no extra restriction beyond the membership.
ISO 8601 time after which the credential no longer authenticates.
Referenced by (4)
Exact type SDL
"""
A bearer API credential for one Portal membership. Its secret is returned only at issuance and stored as a digest.
"""
type PortalAPICredential {
"""Unique credential identifier."""
id: PortalAPICredentialID!
"""False once the credential is revoked."""
isActive: Boolean!
"""Portal the credential authenticates against."""
portalId: PortalID!
"""PortalUser the credential acts as."""
userId: PortalUserID!
"""Membership the credential acts through."""
membershipId: PortalMembershipID!
"""
Optional action ceiling, sorted; null means no extra restriction beyond the membership.
"""
permissions: [String!]
"""ISO 8601 time after which the credential no longer authenticates."""
expiresAt: String!
}