Authenticating to a REST API Flashcards

1
Q

What is authentication

A

the act of verifying the user’s identity.

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

What is Authorization

A

the user proving that they have the permissions to perform the requested action on that resource.

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

Describe Basic authentication

A

also known as Basic Auth, uses the standard Basic HTTP authentication scheme. Basic Auth transmits credentials as username/password pairs separated with a colon ( : ) and encoded using Base64.

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

What is this an example of

Authorization: Basic :

A

Basic authentication

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

What is Bearer Authentication

A

also known as Token Authentication, uses the standard Bearer HTTP authentication scheme. It is more secure than Basic Authentication and is typically used with OAuth (to be discussed later) and Single Sign-On (SSO). Bearer Authentication uses a bearer token, which is a string generated by an authentication server such as an Identity Service (IdS).

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

What is this an example of

​ Authorization: Bearer

A

Bearer authentication

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

What is an API key

A

also referred to as an API Token, is a unique alphanumeric string generated by the server and assigned to a user.

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

What are the two types of API keys

A

Public and private api keys

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

What is Open Authorization

A

also known as OAuth, combines authentication with authorization. OAuth was developed as a solution to insecure authentication mechanisms. With increased security compared to the other options, it is usually the recommended form of authentication/authorization for REST APIs.

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

What is flow

A

This process of obtaining the token is called a flow.

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