Skip to content

Instantly share code, notes, and snippets.

View draft-ietf-oauth-iss-auth-resp-00.md
View RFC7797.md

JSON Web Signature (JWS) Unencoded Payload Option

RFC 7797 - JSON Web Signature (JWS) Unencoded Payload Option

RFC 7797 - JSON Web Signature (JWS) Unencoded Payload Option 日本語訳

ペイロードが JWS の外にあって JWS に含める必要が無いとき RFC 7515 - JSON Web Signature (JWS): Appendix F. Detached Content や、すでにURLセーフのため base64url エンコードをする必要が無い場合にペイロードを base64url エンコードしない JWS を作成するための RFC7519 拡張

3. The "b64" Header Parameter

@pinzolo
pinzolo / diff-oauth-v21-v20.md
Last active November 12, 2020 15:08
OAuth v2.1 と OAuth v2.0 の diff をとってみた
View diff-oauth-v21-v20.md

The OAuth 2.1 Authorization Framework

Abstract

This specification replaces and obsoletes the OAuth 2.0 Authorization Framework described in RFC 6749.

OAuth 2.0 を置き換えるもので、従来の OAuth 2.0 は廃止となる

1. Introduction

@pinzolo
pinzolo / af4_lvup_exp.go
Last active November 10, 2018 08:04
[ボク殺3] ☆4AF素材期待値
View af4_lvup_exp.go
package main
import (
"fmt"
"strconv"
)
type num int
func (n num) val() val {
@pinzolo
pinzolo / get_serial_sequence.js
Last active July 28, 2016 02:18
serialのシーケンスがなが~い名前になる場合の命名ロジック(pg_get_serial_sequenceの中身を想像)
View get_serial_sequence.js
var MAX_SEQ_NAME_LENGTH = 63;
var PARTS_LENGTH_THRESHOLD = 29;
function getSerialSequence(tableName, columnName) {
t = tableName;
c = columnName;
if (tableName.length + columnName.length + 5 > MAX_SEQ_NAME_LENGTH) {
if (tableName.length > PARTS_LENGTH_THRESHOLD) {
if (columnName.length > PARTS_LENGTH_THRESHOLD) {
t = tableName.substring(0, PARTS_LENGTH_THRESHOLD);
@pinzolo
pinzolo / call_pointer_method_in_template_by_pointer.go
Last active June 3, 2016 02:11
ポインタ経由でメソッドを呼び出す
View call_pointer_method_in_template_by_pointer.go
package main
import (
"os"
"text/template"
)
type Person struct {
Name string
City string
@pinzolo
pinzolo / call_method_with_multiple_arguments_in_template.go
Last active June 3, 2016 02:04
複数の引数が必要なメソッドをテンプレート内で呼び出す
View call_method_with_multiple_arguments_in_template.go
package main
import (
"os"
"text/template"
)
type Person struct {
Name string
City string
@pinzolo
pinzolo / call_method_with_argument_in_template.go
Last active June 3, 2016 01:48
引数が必要なメソッドをテンプレート内で呼び出す
View call_method_with_argument_in_template.go
package main
import (
"os"
"text/template"
)
type Person struct {
Name string
City string
View call_method_in_template_without_brackets.go
package main
import (
"os"
"text/template"
)
type Person struct {
Name string
City string
@pinzolo
pinzolo / call_method_in_template_with_bracket.go
Last active June 3, 2016 01:36
text/template から カッコつきでメソッドを呼び出してみる(出来ない)
View call_method_in_template_with_bracket.go
package main
import (
"os"
"text/template"
)
type Person struct {
Name string
City string