Skip to content

Commit

Permalink
Fix titles in docs
Browse files Browse the repository at this point in the history
Version 3.0.0
  • Loading branch information
JonasKs committed Sep 1, 2021
1 parent 0f01bf4 commit 68c6307
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/docs/multi-tenant/azure_setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: AAD Authorization
title: Azure configuration
sidebar_position: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/multi-tenant/locking_down_on_roles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from fastapi_azure_auth.user import User

async def validate_is_admin_user(user: User = Depends(azure_scheme)) -> None:
"""
Validated that a user is in the `AdminUser` role in order to access the API.
Validate that a user is in the `AdminUser` role in order to access the API.
Raises a 401 authentication error if not.
"""
if 'AdminUser' not in user.roles:
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/single-tenant/azure_setup.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: AAD Authorization
title: Azure configuration
sidebar_position: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/single-tenant/locking_down_on_roles.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from fastapi_azure_auth.user import User

async def validate_is_admin_user(user: User = Depends(azure_scheme)) -> None:
"""
Validated that a user is in the `AdminUser` role in order to access the API.
Validate that a user is in the `AdminUser` role in order to access the API.
Raises a 401 authentication error if not.
"""
if 'AdminUser' not in user.roles:
Expand Down
2 changes: 1 addition & 1 deletion fastapi_azure_auth/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
SingleTenantAzureAuthorizationCodeBearer,
)

__version__ = '3.0.0-rc1'
__version__ = '3.0.0'
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastapi-azure-auth"
version = "3.0.0-rc1" # Remember to change in __init__.py as well
version = "3.0.0" # Remember to change in __init__.py as well
description = "Easy and secure implementation of Azure AD for your FastAPI APIs"
authors = ["Jonas Krüger Svensson <jonas.svensson@intility.no>"]
readme = "README.md"
Expand Down

0 comments on commit 68c6307

Please sign in to comment.