func (u *User) Nickname() string {
	return u.Data().Get(soundcloudKeyNickname).Str()
}
Nickname gets the users nickname or username.
package soundcloud
import (
	"github.com/stretchr/gomniauth/common"
	"github.com/stretchr/objx"
	"strconv"
)
const (
	soundcloudKeyID        string = "id"
	soundcloudKeyName      string = "full_name"
	soundcloudKeyNickname  string = "username"
	soundcloudKeyAvatarUrl string = "avatar_url"
)
type User struct {
	data objx.Map
}
func NewUser(data objx.Map, creds *common.Credentials, provider common.Provider) *User {
	user := &User{data}
	creds.Set(common.CredentialsKeyID, data[soundcloudKeyID])
	user.data[common.UserKeyProviderCredentials] = map[string]*common.Credentials{
		provider.Name(): creds,
	}
	return user
}
func (u *User) Email() string {
	return ""
}
func (u *User) Name() string {
	return u.Data().Get(soundcloudKeyName).Str()
}