mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 14:50:49 +08:00 
			
		
		
		
	
				
					committed by
					
						
						Tom Pallister
					
				
			
			
				
	
			
			
			
						parent
						
							3ef978460c
						
					
				
				
					commit
					7d0320beca
				
			@@ -93,7 +93,7 @@ Then map the authentication provider key to a ReRoute in your configuration e.g.
 | 
			
		||||
Identity Server Bearer Tokens
 | 
			
		||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 | 
			
		||||
 | 
			
		||||
In order to use IdentityServer bearer tokens register your IdentityServer services as usual in ConfigureServices with a scheme (key). If you don't understand how to do this please consul the IdentityServer documentation.
 | 
			
		||||
In order to use IdentityServer bearer tokens register your IdentityServer services as usual in ConfigureServices with a scheme (key). If you don't understand how to do this please consult the IdentityServer documentation.
 | 
			
		||||
 | 
			
		||||
.. code-block:: csharp
 | 
			
		||||
 | 
			
		||||
@@ -141,4 +141,4 @@ Allowed Scopes
 | 
			
		||||
 | 
			
		||||
If you add scopes to AllowedScopes Ocelot will get all the user claims (from the token) of the type scope and make sure that the user has all of the scopes in the list.
 | 
			
		||||
 | 
			
		||||
This is a way to restrict access to a ReRoute on a per scope basis.
 | 
			
		||||
This is a way to restrict access to a ReRoute on a per scope basis.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user