Get desktop application:
View/edit binary Protocol Buffers messages
BearerToken is information authenticating a single request. It's intended to be wrapped in a SecureToken.
Credential represents a WebAuthn public-key credential.
A synthetic identifier to distingish between cases where a credential is revoked and re-added, or two users have the same credential.
The id of the credential, as determined by the authenticator.
The public key of the credential, used to verify signataures from an authenticator.
The user that enrolled this credential.
The name that the user gave this; for display purposes only.
When this credential was enrolled.
When this credential was revoked, or zero if not revoked.
The session id that was in use to access the enrollment page. We don't use this anywhere, it's just for audit purposes. (That's why it's just the ID and not the full Session object.)
The AAGUID of the authenticator. (Supposedly this identifies the manufacturer of the authenticator.)
The last-seen sign count of the authenticator. If the sign count is less than this when logging in, we know the credential has been cloned.
Header is an HTTP header.
Used in:
RedirectToken is a request to redirect to a new URI. It is issued when authentication fails to allow the user to immediately go to their original destination after they log in, without allowing arbitrary sites on the Internet to trick you into visiting them.
We use an Any here because it includes the type of the message. This means that when we sign one of these tokens, we also sign the type of the token, ensuring that validation does not succeed on the wrong type of message.
When this token was created.
Session links a token (the id) and a user. If expires_at is less than or equal to the current time, the session is expired.
SessionMetadata stores extra information about a session. Extra information isn't used by JSSO itself, but might be useful for audit logs, evaluating policy rules, etc.
Used in:
SetCookieRequest is a request to set a session cookie. It's intended to be wrapped in a SecureToken, so that a gRPC request can return a token and it can be passed to a regular HTTP service that sets an HttpOnly cookie.
The session ID to set.
Where to redirect after setting the cookie.
When the session cookie should expire.
User represents something that can log in.
Used in: , , , , , ,