Skip to content

Conversation

@oandersonmagalhaes
Copy link
Contributor

This PR translates the tutorial/security/first-steps.md and add this page to the mkdocs.yml file.

@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #3615 (a6c9e8f) into master (70f1b8e) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master     #3615   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          409       409           
  Lines        10244     10244           
=========================================
  Hits         10244     10244           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 70f1b8e...a6c9e8f. Read the comment docs.

@github-actions
Copy link
Contributor

📝 Docs preview for commit b7bc026 at: https://61000398f2bc8a00c7cf44e4--fastapi.netlify.app

@tiangolo tiangolo added awaiting-review lang-all Translations lang-pt Portuguese translations labels Jul 28, 2021
@oandersonmagalhaes
Copy link
Contributor Author

Poderiam fazer um review da tradução? 😅
@izaguerreiro @cassiobotaro @lsglucas

Copy link
Contributor

@stlucasgarcia stlucasgarcia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tenho algumas sugestões

oandersonmagalhaes and others added 13 commits July 29, 2021 09:05
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
oandersonmagalhaes and others added 7 commits July 29, 2021 09:09
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
Co-authored-by: Lucas <61513630+lsglucas@users.noreply.github.com>
@github-actions
Copy link
Contributor

📝 Docs preview for commit 11e83dc at: https://61029b852dce1908590f4f59--fastapi.netlify.app

oandersonmagalhaes and others added 2 commits July 29, 2021 22:11
Co-authored-by: Izabela Guerreiro <izaguerreiro@gmail.com>
Co-authored-by: Izabela Guerreiro <izaguerreiro@gmail.com>
@github-actions
Copy link
Contributor

📝 Docs preview for commit c3a9370 at: https://6103524fc32597b2ec0b9bef--fastapi.netlify.app

@github-actions
Copy link
Contributor

📝 Docs preview for commit 83ec4fd at: https://61035433b5a66eb2c49accc9--fastapi.netlify.app

…nslation-pt-tutorial-security-first-steps
@github-actions
Copy link
Contributor

📝 Docs preview for commit 9cd7ae4 at: https://6104964f415ce02bac626802--fastapi.netlify.app

…nslation-pt-tutorial-security-first-steps
@github-actions
Copy link
Contributor

📝 Docs preview for commit 35e0159 at: https://611567c5a027991031c7a9af--fastapi.netlify.app

@@ -0,0 +1,179 @@
# Segurança - Primeiros passos

Vamos imaginar que você tem sua API **backend** em um domínio.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Vamos imaginar que você tem sua API **backend** em um domínio.
Vamos imaginar que você tem sua **backend** API em um domínio.


E você tem um **frontend** em outro domínio ou em um caminho diferente no mesmo domínio (ou em uma aplicação mobile).

E você quer criar um caminho para o frontend autenticar com o backend, usando **usuário** e **senha**.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
E você quer criar um caminho para o frontend autenticar com o backend, usando **usuário** e **senha**.
E você quer criar um rota para o frontend autenticar com o backend, usando **usuário** e **senha**.


E você quer criar um caminho para o frontend autenticar com o backend, usando **usuário** e **senha**.

Podemos usar **OAuth2** para criá-lo com o **FastAPI**.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Podemos usar **OAuth2** para criá-lo com o **FastAPI**.
Podemos usar **OAuth2** para criá-lo com **FastAPI**.


Podemos usar **OAuth2** para criá-lo com o **FastAPI**.

Mas vamos ganhar o tempo de leitura de longas especificações só para encontrar esses pequenos pedaços de informações que você precisa.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Mas vamos ganhar o tempo de leitura de longas especificações para encontrar esses pequenos pedaços de informações que você precisa.
Mas iremos economizar o tempo de leitura de longas especificações que seriam usados somente para encontrar pequenos pedaços de informações que você precisa.

I'm not sure about this, but it doesn't look alright 🤔

<img src="/img/tutorial/security/image01.png">

!!! check "Botão de autorização"
Você já tem um botão "Authorize" novinho em folha.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we should use Italic on esttangeirismos... I forgot. 🤔


<img src="/img/tutorial/security/image02.png">

!!! note
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
!!! note
!!! note "Nota"

@github-actions
Copy link
Contributor

📝 Docs preview for commit a6c9e8f at: https://611d2c449bb5c900c3d61199--fastapi.netlify.app

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved-2 lang-all Translations lang-pt Portuguese translations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants