Source File
device_claims.go
Belonging Package
github.com/jcmturner/gokrb5/v8/pac
package pacimport ()// Claims reference: https://msdn.microsoft.com/en-us/library/hh553895.aspx// DeviceClaimsInfo implements https://msdn.microsoft.com/en-us/library/hh554226.aspxtype DeviceClaimsInfo struct {ClaimsSetMetadata mstypes.ClaimsSetMetadataClaimsSet mstypes.ClaimsSet}// Unmarshal bytes into the ClientClaimsInfo structfunc ( *DeviceClaimsInfo) ( []byte) ( error) {:= ndr.NewDecoder(bytes.NewReader()):= new(mstypes.ClaimsSetMetadata)= .Decode()if != nil {= fmt.Errorf("error unmarshaling ClientClaimsInfo ClaimsSetMetadata: %v", )return}.ClaimsSetMetadata = *.ClaimsSet, = .ClaimsSetMetadata.ClaimsSet()if != nil {= fmt.Errorf("error unmarshaling ClientClaimsInfo ClaimsSet: %v", )}return}
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |