File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 <ItemGroup >
2525 <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 9.0.3" />
2626 <PackageReference Include =" Microsoft.AspNetCore.Identity" Version =" 2.3.1" />
27- <None Include =" \ readme.md" Pack =" true" PackagePath =" \" />
27+ <None Include =" ./ readme.md" Pack =" true" PackagePath =" \" />
2828 </ItemGroup >
2929
3030</Project >
Original file line number Diff line number Diff line change @@ -117,15 +117,15 @@ private AuthResult<TUser> GenerateUserToken(TUser existingUser)
117117
118118
119119
120- public async Task < string > GenerateOAuthStateAsync ( string provider )
120+ public virtual async Task < string > GenerateOAuthStateAsync ( string provider )
121121 {
122122 // Generate secure state token to prevent CSRF
123123 var state = Convert . ToBase64String ( RandomNumberGenerator . GetBytes ( 32 ) ) ;
124124 // Store state with expiration (implement in token store)
125125 return state ;
126126 }
127127
128- public async Task < bool > ValidateOAuthStateAsync ( string state )
128+ public virtual async Task < bool > ValidateOAuthStateAsync ( string state )
129129 {
130130 // Validate and consume state token
131131 // Implement in token store
You can’t perform that action at this time.
0 commit comments