public static async Task<TokenEndPoint> GetTokenEndProint
        (
            IOwinContext owinContext,
            OAuthOptions options,
            AuthorizationCodeStorage storage,
            RefreshTokenStorage refreshTokenStorage
        )
        {
            var request = new TokenRequest(owinContext);
            await request.LoadAsync();

            var context = new OAuthContext(options, request, owinContext);

            return new TokenEndPoint(context, storage, refreshTokenStorage);
        }
 public OAuthContext(OAuthOptions options, TokenRequest request, IOwinContext context)
 {
     Options = options;
     TokenRequest = request;
     OwinConext = context;
 }