package
module
Version:
v0.0.0-...-eab67bb
Opens a new window with list of versions in this module.
Published: Jun 12, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
attestation
A SafetyNet Attestation API response parser for golang.
Install
go get github.com/okzk/attestation
How to use
package main
import (
"fmt"
"github.com/okzk/attestation"
)
func main() {
jws := "....."
claims, err := attestation.Parse(jws)
if err != nil {
panic(err)
}
fmt.Println(claims)
}
License
MIT
Documentation
¶
Parse validates SafetyNet Attestation API response JWS and returns claims.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.