Authentication & Authorization Flashcards

(10 cards)

1
Q

A secure web app redirects users to Salesforce to log in, retrieves an authorization code, and exchanges it on a backend server for access and refresh tokens.

A

OAuth 2.0 Web Server Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A backend script must authenticate without user interaction using only a username, password, and security token.

A

OAuth 2.0 Username–Password Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two servers need to communicate securely with no user involvement using signed certificates for authentication.

A

OAuth 2.0 JWT Bearer Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A smart TV or kiosk app needs users to authenticate on a separate browser or device because typing credentials directly on the device is impractical.

A

OAuth 2.0 Device Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Your company uses single sign-on with an enterprise identity provider. Salesforce is the service provider receiving authentication assertions.

A

SAML Assertion Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

An integration requires long-term access without repeated logins. After the first login, the app can request new access tokens automatically.

A

OAuth 2.0 Refresh Token Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Salesforce must call an external API using stored credentials without writing custom authentication code.

A

Named Credentials

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You need to control whether a user or integration has access to specific objects, fields, and records inside Salesforce.

A

Authorization (Profiles & Permission Sets)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An external system relies on Salesforce to authenticate users; Salesforce is acting as the Identity Provider.

A

Salesforce as Identity Provider (IdP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

An older integration uses a one-time token appended to the password for API authentication, which will eventually be deprecated.

A

Security Token (Legacy)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly