Files
webrtc/oauthcredential.go
Max Hawkins 0647ce9c26 Remove rtc prefix from filenames
Relates to #408
2019-02-17 16:22:56 -08:00

16 lines
595 B
Go

package webrtc
// OAuthCredential represents OAuth credential information which is used by
// the STUN/TURN client to connect to an ICE server as defined in
// https://tools.ietf.org/html/rfc7635. Note that the kid parameter is not
// located in OAuthCredential, but in ICEServer's username member.
type OAuthCredential struct {
// MacKey is a base64-url encoded format. It is used in STUN message
// integrity hash calculation.
MacKey string
// AccessToken is a base64-encoded format. This is an encrypted
// self-contained token that is opaque to the application.
AccessToken string
}