Exchange GitHub token for a Spacelift User.
- token
User!
User!- idUsername.
- actions[SpaceActions!]!actions that the user can perform in spaces.
- adminWhether the user has org-wide admin privileges.
- apiKeys[ApiKey!]!List of API keys created by the user.
- ownedApiKeys[ApiKey!]!List of personal API keys owned by the user. Unlike apiKeys, this does not depend on the account allowing non-root API keys.
- canCreatePersonalApiKeyWhether the current user may create a personal API key right now. Runs the same checks as personalApiKeyCreate.
- avatarURLURL of the user avatar.
- emailEmail of the user, may be empty.
- jwtTemporary access token as a string.
- nameFull name of the GitHub user.
- sinceTimestamp of the first login, only populated for human users.
- validUntilUnix timestamp of token validity expiration.
- teamsTeam names which the user has access to.
- cannotEvaluateAccessPoliciesWhether the access policies can be evaluated for this user.
- identityProviderIdentity provider.
- isFirstUserIndicates whether the user is the first to log in for this account. Is guaranteed to be true only for the first user to log in and before any other user has logged in.
- securityKeys[SecurityKey!]!Returns list of the security keys for the current user.
- identityIdentityV2 identity for the current user, if available.