Revise authentication logic
This commit is contained in:
		
							
								
								
									
										11
									
								
								Core.Thalos.BuildingBlocks/Contracts/IGoogleAuthHelper.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Core.Thalos.BuildingBlocks/Contracts/IGoogleAuthHelper.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| using Google.Apis.Auth.OAuth2; | ||||
|  | ||||
| namespace Core.Thalos.BuildingBlocks | ||||
| { | ||||
|     public interface IGoogleAuthHelper | ||||
|     { | ||||
|         string[] GetScopes(); | ||||
|         string ScopeToString(); | ||||
|         ClientSecrets GetClientSecrets(); | ||||
|     } | ||||
| } | ||||
| @@ -4,7 +4,7 @@ | ||||
| // </copyright> | ||||
| // *********************************************************************** | ||||
|  | ||||
| namespace Core.Thalos.Adapters.Contracts | ||||
| namespace Core.Thalos.BuildingBlocks | ||||
| { | ||||
|     /// <summary> | ||||
|     /// Interface for token provider. | ||||
|   | ||||
| @@ -7,7 +7,7 @@ | ||||
| using Microsoft.AspNetCore.Http; | ||||
| using Microsoft.AspNetCore.Mvc; | ||||
|  | ||||
| namespace Core.Thalos.Adapters.Contracts | ||||
| namespace Core.Thalos.BuildingBlocks | ||||
| { | ||||
|     /// <summary> | ||||
|     /// Interface for authenticacion service. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user