This tutorial demonstrates how to add authorization to a Go API. We recommend that you log in to follow this quickstart with examples configured for your account.
In this article, the fundamentals of what JSON Web Tokens (JWT) are, and why they are used will be explained. JWT are an important piece in ensuring trust and security in your application. JWT allow claims, such as user data, to be represented in a secure manner. To explain how JWT work, let’s begin with an abstract definition. A JSON Web Token (JWT) is a JSON object that is defined in RFC 7519 as
tl;dr: functions that take an http.Handler and return a new one can do things before and/or after the handler is called, and even decide whether to call the original handler at all. If you’re building web services using Go (if you’re not, why not?) and you’re not using any middleware packages (and even if you are), then you need to understand the power of wrapping http.Handler types. An http.Handl
JSON web token (JWT), pronounced "jot", is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. Again, JWT is a standard, meaning that all JWTs are tokens, but not all tokens are JWTs. Because of its relatively small size, a JWT can be sent through a URL, through a POST parameter, or inside an HTTP header,
Rails Developers Meetup 2018
MANABIYA 2018-03-24 (sat) Webセッション 3時限目の発表内容 https://manabiya.tech
Make sense of your chaotic cloud-native environments with Instana’s fully automated application observability, delivering the context needed to take intelligent actions and ensure optimum application performance Making Observability Enterprise-Ready to help optimize Cloud-Native and legacy application performance Automates monitoring, tracing and profiling for all applications and services Provide
*Updated performance tests (added React Fiber) First of all I want to address elephant in the room that is one question you might be having: “Why the heck another JavaScript framework ?”. Well my answer is that I noticed a pattern in all of the frameworks I recently went through and all of them have the same problem. They are stuck in creating Virtual DOM and then running diffing algorithm over it
UGURUS offers elite coaching and mentorship for agency owners looking to grow. Start with the free Agency Accelerator today. Raise your hand if this sounds like you: You’ve been in the tech industry for a number of years, you know HTML and CSS inside-and-out, and you make a good living. But, you have a little voice in the back of your head that keeps whispering, “It’s time for something new, for t
What does it mean to add versioning to the go command? The overview post gave a preview, but the followup posts focused mainly on underlying details: the import compatibility rule, minimal version selection, and defining go modules. With those better understood, this post examines the details of how versioning affects the go command line and the reasons for those changes. The major changes are: Al
vuejsではvue2-google-mapなどgoogle-mapを利用するライブラリがあるが、色々小回りを効かせたいくて直接APIを触れるようにしたかったのでやってみたらvueのあらゆる機能を触ることになったので実装をまとめてみる。 出来たもの Demo: https://vue-google-map-provider-sample.netlify.com/ Source: https://github.com/inuscript/example-vue-inject-provide-google-map 実装 登場人物は下記のようになる index.html (起動するファイル) MyMap.vue (マップの大本の実装。コンポーネントを組み合わせる親) MapLoader.vue (Google Mapを呼び出すだけ) MapProvider.vue (vueのprovideを提供
GoogleはMWC(モバイル・ワールド・コングレス)で新しいページスピードツールをリリースしました。日本語の表示や円換算は未対応ですが、記事内のGIF画像を参考にぜひご自分のサイトでも試してみてください。日本のサイトで試す場合はデフォルトで「United States」となっている右上の国の中から、「Japan」を選択してからお試しください。 一つ目のツールは競合とのモバイルでの比較を可能に。もう一つはモバイルスピードがビジネスに与えるインパクトを確認するためのツール。 Googleは数年に渡って、マーケターとサイト所有者にモバイルサイト上での体験を改善するように促してきた。月曜日、バルセロナで開催されているMWCで、検索の最大手Googleが新しいモバイルベンチマークツールのリリースをアナウンスして、この流れを加速させた。新しい「モバイルスコアカード」と「インパクトカリキュレータ」の二
たくさんある道具をどのように組み合わせるか 今回はコード設計編のつもりでしたが、ビルド周りを先にまとめることにしました。主にパフォーマンス上の都合ですが、心がけたポイントは次の点です。 画一的なバンドルではなく、適切なバンドルを選択的に配信できるようにする 適当な粒度で Code Splitting できるようにする ひとつのツールに何でもかんでもやらせない( webpack、お前のことだよ!) ビルドのパイプラインを短く、シンプルに済ませる(できることを全てやろうとしない) タスクランナーは前回述べた通り make を利用しています。同僚が使っているのを見てパクりましたが Self-Documented Makefile の手法が、タスク名忘れに優しくてよかったです。 npm run したら npm scripts が一覧で出てくるのと似たようなやつです。 このシリーズの他の記事はこちら
The CSSOM View specification has a handful of widely-implemented properties on the Element interface related to scrolling: scrollTop, scrollLeft, scrollWidth, scrollHeight. These give the current scroll position of the element, and the size of the scrolling area. scrollTop and scrollLeft can also be set to cause a scroll. When these are used on the root element, they instead reflect the scroll pos
Update 2018-01-25: This proposal has reached stage 4 and will be part of ECMAScript 2018. The ECMAScript proposal “Rest/Spread Properties” by Sebastian Markbåge enables: The rest operator (...) in object destructuring. At the moment, this operator only works for Array destructuring and in parameter definitions. The spread operator (...) in object literals. At the moment, this operator only works i
Webpack Stay organized with collections Save and categorize content based on your preferences. Modern web applications often use a bundling tool to create a production "bundle" of files (scripts, stylesheets, etc.) that is optimized, minified and can be downloaded in less time by your users. In Web Performance Optimization with webpack, we will walk through how to effectively optimize site resourc
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く