Skip to content

Commit

Permalink
fix(grpc): move interface out of options class
Browse files Browse the repository at this point in the history
  • Loading branch information
SonicGD committed Nov 29, 2023
1 parent 0902af3 commit 7d46000
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Sitko.Core.Grpc.Client/GrpcClientModuleOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,4 @@ public GrpcClientModuleOptions<TClient> AddInterceptor<TInterceptor>() where TIn
};
return this;
}

public interface IGrpcTokenProvider
{
Task<string> GetTokenAsync();
}
}
6 changes: 6 additions & 0 deletions src/Sitko.Core.Grpc.Client/IGrpcTokenProvider.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
namespace Sitko.Core.Grpc.Client;

public interface IGrpcTokenProvider
{
Task<string> GetTokenAsync();
}

0 comments on commit 7d46000

Please sign in to comment.