ReFederationToken鉴权不可用
错误提示: Error: Error Domain=please set generateToken first ! Code=0 "The operation couldn’t be completed. (please set generateToken first ! error 0.)"
我的鉴权代码
[ossService setAuthenticationType:FEDERATION_TOKEN];
OSSFederationToken *federation = [[OSSFederationToken alloc] initWithAk:accessKeyId sk:accessKeySecret tempToken:securityToken expiration:expiration];
[ossService setFederationTokenGetter:^OSSFederationToken *{
return federation;
}];